Given a "vcfLink" object, converts the VCF file to genotype matrix format and returns this matrix. See the "–012" flag in the vcftools documentation.
1 2 3 4 | GenotypeMatrix(object, ...)
## S4 method for signature 'vcfLink'
GenotypeMatrix(object, filename = NULL, verbose = TRUE)
|
object |
an object of class "vcfLink" |
verbose |
print stdout from vcftools? |
output.file |
the filename to save the genotype matrix to, if you want to write it outside of R |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.