read_vcf: Read a VCF file.

Description Usage Arguments Value Note See Also Examples

View source: R/read_vcf.r

Description

Read a VCF file.

Usage

1
read_vcf(vcf)

Arguments

vcf

vcf filename

Value

data_frame

Note

return value has chrom, start and end columns. Interval lengths are the size of the 'REF' field.

See Also

Other read functions: read_bed(), read_genome()

Examples

1
2
vcf_file <- valr_example('test.vcf.gz')
read_vcf(vcf_file)

valr documentation built on Dec. 11, 2021, 9:57 a.m.