vcf_readLineVec: Read a line of data from the given VCF file and return the...

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

View source: R/read_simple.R

Description

Read a line of data from the given VCF file and return the fields as vector elements

Usage

1
2

Arguments

vcffh

VCF file handle

Details

The latter version applies filtering set up with vcf_addfilter. Use .Call("VCF_readLineTSV", vcffh ) or .Call("VCF_readLineTSVFiltered", vcffh ) respectively to eliminate the overhead of using the R wrapper function.

Value

A vector where each element is a field from a line of data in the VCF

Author(s)

Ulrich Wittelsbuerger

See Also

vcf_addfilter,vcf_describefilters

Examples

1
2
	vcffile <- vcf_open( system.file( "extdata", "ex.vcf.gz" , package="WhopGenome") )
	vcf_readLineVec( vcffile )

WhopGenome documentation built on May 1, 2019, 10:12 p.m.