seqinfo {VariantAnnotation} | R Documentation |
Get seqinfo for VCF file
## S4 method for signature 'VcfFile' seqinfo(x) ## S4 method for signature 'VcfFileList' seqinfo(x)
x |
Either character(), |
If a VcfFile
The file header is scanned an appropriate seqinfo
object in given. If a VcfFileList
is given, all file headers are
scanned, and appropriate combined seqinfo object is given.
Seqinfo object
Lori Shepherd
fl <- system.file("extdata", "chr7-sub.vcf.gz", package="VariantAnnotation", mustWork=TRUE) vcf <- VcfFile(fl) seqinfo(vcf)