Description Usage Arguments Details Value Author(s) Examples
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.
1 | vcf_eor( vcffh )
|
vcffh |
Handle of a VCF file opened by VCF_open |
Use .Call("VCF_eor", vcffh ) to eliminate the overhead of using the R wrapper function.
TRUE if all SNPs inside the previously defined region have been read.
Ulrich Wittelsbuerger
1 2 3 4 5 6 | vcffile <- vcf_open( system.file( "extdata", "ex.vcf.gz" , package="WhopGenome") )
vcf_setregion(vcffile, "Y", 1, 100000 )
while( !vcf_eor(vcffile) )
{
vcf_readLineVec( vcffile )
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.