This requires a working installation of qpDstat, which will be called using system
qpdstat_wrapper(
pref,
pop1,
pop2 = NULL,
pop3 = NULL,
pop4 = NULL,
bin = "~np29/o2bin/qpDstat",
outdir = ".",
parfile = NULL,
f4mode = "YES",
inbreed = "NO",
printonly = FALSE,
env = "",
verbose = TRUE
)Path to and prefix of the packedancestrymap genotype files
One of the following four:
NULL: populations will be read from poplistname or popfilename specified in parfile
A vector of population labels
A data frame in which the first four columns specify the population combinations to be tested.
pop2, pop3, pop4 will be ignored.
the location of a file (poplistname or popfilename) which specifies
the populations or population combinations to be tested. pop2, pop3, pop4 will be ignored.
A vector of population labels
A vector of population labels
A vector of population labels
Path to the qpDstat binary file
Output directory. files out, parfile, poplistname,
popfilename may be overwritten
qpDstat parameter file. If this is specified, pop, pop2, pop3,
and pop4 will be ignored.
f4mode
inbreed
Should the command be printed or executed?
Export environmental variables. See examples.
Print progress updates
If printonly, the qpDstat command, otherwise a data frame with parsed qpDstat output