Description Usage Arguments Value See Also
gt genotypes are stored with loci per row and samples per column.
For the transposed, see extract.snps
.
1 2 3 4 5 6 7 8 9 10 | extract.gt(x, as.numeric, ...)
## S3 method for class 'vcfR'
extract.gt(x, as.numeric, ...)
## S3 method for class 'haps'
extract.gt(x, as.numeric = TRUE, ...)
## S3 method for class 'oxford'
extract.gt(x, as.numeric = TRUE, ..., as.integer = FALSE)
|
x |
Object to extract genotypes from. |
as.numeric |
Logical, when |
... |
Arguments passed on to |
as.integer |
Rounds genotype dosages to whole integers. |
extract.gt
returns a matrix with loci per row and samples per column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.