vcf_getheaderline: Return one of the header lines of the VCF file

Description Usage Arguments Details Value Author(s) Examples

View source: R/misc.R

Description

Return one of the header lines of the VCF file

Usage

1
vcf_getheaderline(vcff, whichnum)

Arguments

vcff

VCF file handle

whichnum

Number of header line to retrieve

Details

Use .Call("VCF_getHeaderLine", vcff, whichnum ) to eliminate the overhead of using the R wrapper function.

Value

A string containing the full header line.

Author(s)

Ulrich Wittelsbuerger

Examples

1
2
3
	vcffile <- vcf_open( system.file( "extdata", "ex.vcf.gz" , package="WhopGenome") )
	vcf_getheaderline( vcffile , as.integer(0) )
	vcf_getheaderline( vcffile , as.integer(1) )

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