tabix_getregion {WhopGenome}R Documentation

Return the currently selected region of the given tabix file.

Description

Return the currently selected region of the given tabix file. The resulting value does not reflect the current read position inside that region, i.e. you cannot infer whether there are any lines left for reading from that region.

Usage

tabix_getregion( tabfh )

Arguments

tabfh

Tabix handle, once returned by tabix_open

Details

Use .Call("tabix_getRegion", tabfh ) to eliminate the slight overhead of using the R wrapper function.

Value

Tabix file handle

Author(s)

Ulrich Wittelsbuerger

See Also

tabix_open

Examples


##
##	Example :
##
gffgzfile  <- system.file("extdata", "ex.gff3.gz", package = "WhopGenome" )
gffh <- tabix_open( gffgzfile )
gffh
tabix_setregion( gffh, "ex.1", 1, 400 )
tabix_getregion( gffh )
tabix_close( gffh )
gffh


[Package WhopGenome version 0.9.7 Index]