This requires a working installation of qpAdm, which will be called using system
qpadm_wrapper(
pref,
left,
right,
target = NULL,
bin = "~np29/o2bin/qpAdm",
outdir = "./",
parfile = NULL,
allsnps = "NO",
blgsize = 0.05,
fancyf4 = "NO",
f4mode = "YES",
inbreed = "NO",
printonly = FALSE,
env = "",
verbose = TRUE
)
Path to and prefix of the packedancestrymap genotype files
Left populations (or leftlist file)
Right populations (or rightlist file)
Target population
Path to the qpAdm binary file
Output directory. files out
, parfile
, leftlist
,
rightlist
will be overwritten
qpAdm parameter file
allsnps
blgsize
fancyf4
f4mode
inbreed
Should the command be printed or executed?
Export environmental variables. See examples.
Print progress updates
If not printonly, a data frame with parsed qpAdm output