Description Usage Arguments Value Examples
This function creates an instance of the EIGENSTRAT S3 class, which encapsulates all paths to data files required for an ADMIXTOOLS analysis.
1 |
prefix |
Shared path to an EIGENSTRAT trio (set of ind/snp/geno files). |
ind, snp, geno |
Paths to individual EIGENSTRAT components. |
exclude |
Pre-defined snp file with excluded sites. |
S3 object of the EIGENSTRAT class.
1 2 3 4 5 6 7 8 9 | ## Not run: # download an example genomic data and get the path prefix to the
# trio of snp/geno/ind files in an EIGENSTRAT format
prefix <- download_data(dirname = tempdir())
# wrap the trio of snp/geno/ind files in an object of the class
# EIGENSTRAT
snps <- eigenstrat(prefix)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.