vcf_getheaderline {WhopGenome}R Documentation

Return one of the header lines of the VCF file

Description

Return one of the header lines of the VCF file

Usage

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

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

[Package WhopGenome version 0.9.7 Index]