as.data.frame-ExpandedVCF-method: Convert ExpandedVCF to data.frame

Description Usage Examples

Description

This method converts an ExpandedVCF to a data.frame.

Usage

1
2
3
## S4 method for signature 'ExpandedVCF'
as.data.frame(x, row.names = NULL, optional = FALSE,
  ...)

Examples

1
2
3
4
5
6
require(VariantAnnotation)
vcffile = system.file(package='VariantAnnotation',path='extdata/chr22.vcf.gz')
v = readVcf(vcffile,'hg19')
ve = expand(v)
class(ve)
head(as.data.frame(v))

seandavi/VCFWrenchR documentation built on May 29, 2019, 4:53 p.m.