vcf_getcontignames {WhopGenome}R Documentation

Return the contig/chromosome identifiers used in the VCF file

Description

Return the contig/chromosome identifiers used in the VCF file

Usage

vcf_getcontignames(vcff)

Arguments

vcff

VCF file handle

Details

vcf_setregion for example requires one of these identifiers to be able to successfully select a region for extraction. Use .Call("VCF_getContigNames", vcff ) to eliminate the overhead of using the R wrapper function.

Value

Vector with contig and/or chromosome identifiers.

Author(s)

Ulrich Wittelsbuerger

See Also

vcf_setregion

Examples

	vcffile <- vcf_open( system.file( "extdata", "ex.vcf.gz" , package="WhopGenome") )
	vcf_getcontignames( vcffile )
	# [1] "Y"

[Package WhopGenome version 0.9.7 Index]