read_vcf: Read a VCF file.

View source: R/read_vcf.r

read_vcfR Documentation

Read a VCF file.

Description

Read a VCF file.

Usage

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

vcf_file <- valr_example("test.vcf.gz")
read_vcf(vcf_file)


valr documentation built on Sept. 19, 2023, 1:07 a.m.