vcf_getnumcontigs: Get the number of different contigs/chromosomes stored in the...

Description Usage Arguments Details Value Author(s) Examples

View source: R/misc.R

Description

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

Usage

1

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

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

WhopGenome documentation built on May 1, 2019, 10:12 p.m.