vcf_getnumcontigs {WhopGenome}R Documentation

Get the number of different contigs/chromosomes stored in the file

Description

Get the number of different contigs/chromosomes stored in the file

Usage

vcf_getnumcontigs(vcff)

Arguments

vcff

VCF file handle

Details

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

Value

The number of different contigs/chromosomes stored in the file.

Author(s)

Ulrich Wittelsbuerger

Examples

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

[Package WhopGenome version 0.9.7 Index]