Description Usage Arguments Value
The SNP format lists samples as rows and loci as columns.
it is simply gt
transposed.
The SNP format is always numeric.
1 2 3 4 5 6 7 8 9 10 | extract.snps(x, as.integer)
## S3 method for class 'haps'
extract.snps(x, as.integer = FALSE)
## S3 method for class 'vcfR'
extract.snps(x, as.integer = FALSE, ...)
## S3 method for class 'oxford'
extract.snps(x, as.integer = FALSE)
|
x |
Object to extract genotypes from. |
as.integer |
Rounds genotype dosages to whole integers. |
... |
Arguments passed on to |
extract.snps
returns matrix with indivduals by row, with numeric genotypes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.