loadAdmixture: Read Admixture Output

Description Usage Arguments Value Examples

Description

Read Admixture Output

Usage

1
loadAdmixture(qfile, pfile, logfile = NULL)

Arguments

qfile

a valid Q file from ADMIXTURE

pfile

a corresponding P file from ADMXIXTURE

logfile

logfile from corresponding AMIXTURE run ()

Value

an admix object containing the output of of an admixture run

Examples

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, logfin)

starmie documentation built on May 1, 2019, 8:01 p.m.