seqinfo-method: Get seqinfo for VCF file

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Get seqinfo for VCF file

Usage

1
2
3
4
## S4 method for signature 'VcfFile'
seqinfo(x)
## S4 method for signature 'VcfFileList'
seqinfo(x)

Arguments

x

Either character(), VcfFile, or VcfFileList

Details

If a VcfFileThe 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.

Value

Seqinfo object

Author(s)

Lori Shepherd

See Also

VcfFile, Seqinfo

Examples

1
2
3
4
fl <- system.file("extdata", "chr7-sub.vcf.gz", package="VariantAnnotation",
                  mustWork=TRUE)
vcf <- VcfFile(fl)
seqinfo(vcf)

VariantAnnotation documentation built on Nov. 8, 2020, 5:08 p.m.