snps | R Documentation |
This binary matrix contains the allelic states of genetic variables, typically single-nucleotide polymorphisms (SNPs) (or the presence/absence states of accessory genes), showing individuals in the rows and genetic loci in the columns.
data(snps)
A binary matrix with 100 rows and 20,003 columns.
Each individual in the sample is represented by a unique identifier (name) which corresponds to the name of one row of the snps matrix. Each genetic locus is also required to have a unique name.
In this snps
matrix, redundant columns are present for biallelic loci,
denoting the state of the second allele as the inverse of the previous column
(e.g., compare locus 1.g and locus 1.a).
These biallelic sites can be condensed into a more efficient binary form
by using get.binary.snps(snps)
(see the treeWAS vignette).
Caitlin Collins caitiecollins@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.