Description Usage Arguments Value Examples
View source: R/loadAdmixture.R
Read Admixture Output
1 2 | loadAdmixture(qfile, pfile, logfile = NULL, bootstrap_bias = NULL,
bootstrap_se = NULL)
|
qfile |
a valid Q file from ADMIXTURE |
pfile |
a corresponding P file from ADMXIXTURE |
logfile |
optional logfile from corresponding ADMIXTURE run |
bootstrap_bias |
optional file containing bias estimates for Q matrix |
bootstrap_se |
optional file containing standard error estiamtes for Q matrix |
an admix object containing the output of of an admixture run
1 2 3 4 5 6 | qfin <- system.file("extdata/hapmap3_files", "hapmap3.2.Q", package = "starmie")
pfin <- system.file("extdata/hapmap3_files", "hapmap3.2.P", package = "starmie")
my_admix <- loadAdmixture(qfin, pfin)
# add log file
logfin <- system.file("extdata/hapmap3_files", "log2.out", package = "starmie")
my_admix <- loadAdmixture(qfin, pfin, logfile = logfin)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.