vcf_eor {WhopGenome}R Documentation

Determine whether all lines in the selected region have been read.

Description

When reading SNP info within a region defined by VCF_setRegion, this function returns TRUE/FALSE to indicate whether or not all lines within that region have been read.

Usage

vcf_eor( vcffh )

Arguments

vcffh

Handle of a VCF file opened by VCF_open

Details

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

Value

TRUE if all SNPs inside the previously defined region have been read.

Author(s)

Ulrich Wittelsbuerger

Examples

	vcffile <- vcf_open( system.file( "extdata", "ex.vcf.gz" , package="WhopGenome") )
	vcf_setregion(vcffile, "Y", 1, 100000 )
	while( !vcf_eor(vcffile) )
	{
		vcf_readLineVec( vcffile )
	}

[Package WhopGenome version 0.9.7 Index]