Creates a set of ldobj files, each corresponding to a single independent LD region from the reference panel. It also generates a map file.
generate_ldobj(
outdir,
bfile,
regions,
plink_bin = genetics.binaRies::get_plink_binary(),
nthreads = 1
)
Directory in which to store the ldobj files
Binary plink dataset
A data frame containing the independent regions (see data(ldetect)
)
Plink executable. Default=genetics.binaRies::get_plink_binary()
How many threads. Default=1
map file