tabix_restartregion {WhopGenome} | R Documentation |
Reset the currently selected region so that the next read call will return the first line inside that region.
tabix_restartregion( tabfh )
tabfh |
Tabix handle, once returned by tabix_open |
Use .Call("tabix_restartRegion", tabfh ) to eliminate the slight overhead of using the R wrapper function.
Tabix file handle
Ulrich Wittelsbuerger
tabix_open
## ## Example : ## gffgzfile <- system.file("extdata", "ex.gff3.gz", package = "WhopGenome" ) gffh <- tabix_open( gffgzfile ) gffh ## ## ## tabix_setregion( gffh, "ex.1", 1, 400 ) tabix_read( gffh ) tabix_read( gffh ) tabix_restartregion( gffh ) tabix_read( gffh ) tabix_read( gffh ) tabix_close( gffh ) gffh