Description Usage Arguments Details Value Author(s) See Also Examples
Create a VCF-class object
1 |
x |
a |
chr.prefix |
prefix to add to seqlevels |
info |
which INFO fields to return |
geno |
which GENO fields to return |
Coerces a SeqVarGDSClass object to a
VCF-class object.
Row names correspond to the variant.id. info
and
geno
specify the 'INFO' and 'GENO' (FORMAT) fields to
return, respectively. If not specified, all fields are returned;
if 'NA' no fields are returned. Use seqSetFilter
prior to calling seqAsVCF
to specify samples and variants to
return.
The VariantAnnotation package should be loaded to explore this object.
A CollapsedVCF
object.
Stephanie Gogarten, Xiuwen Zheng
1 2 3 4 5 6 7 8 9 | gds <- seqOpen(seqExampleFileName("gds"))
## Not run:
library(VariantAnnotation)
seqAsVCF(gds)
## End(Not run)
seqClose(gds)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.