vcf_getheaderline {WhopGenome} | R Documentation |
Return one of the header lines of the VCF file
vcf_getheaderline(vcff, whichnum)
vcff |
VCF file handle |
whichnum |
Number of header line to retrieve |
Use .Call("VCF_getHeaderLine", vcff, whichnum ) to eliminate the overhead of using the R wrapper function.
A string containing the full header line.
Ulrich Wittelsbuerger
vcffile <- vcf_open( system.file( "extdata", "ex.vcf.gz" , package="WhopGenome") ) vcf_getheaderline( vcffile , as.integer(0) ) vcf_getheaderline( vcffile , as.integer(1) )