Learn R Programming

WhopGenome (version 0.9.4)

vcf_getfieldnames: Return a vector with the field names used in the VCF file.

Description

Return a vector with the field names used in the VCF file.

Usage

vcf_getfieldnames(vcff)

Arguments

vcff
VCF file handle

Value

A vector of strings representing the field names present in the VCF file.

Details

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

Examples

Run this code
	vcffile <- vcf_open( system.file( "extdata", "ex.vcf.gz" , package="WhopGenome") )
	vcf_getfieldnames( vcffile )

Run the code above in your browser using DataLab