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

Description Usage Examples

Description

This method converts an CollapsedVCF to a data.frame.

Usage

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

Examples

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

seandavi/VCFWrenchR documentation built on Feb. 19, 2018, 2:06 a.m.