tabix_restartregion {WhopGenome}R Documentation

Reset the currently selected region to the beginning.

Description

Reset the currently selected region so that the next read call will return the first line inside that region.

Usage

tabix_restartregion( tabfh )

Arguments

tabfh

Tabix handle, once returned by tabix_open

Details

Use .Call("tabix_restartRegion", 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_read( gffh )
tabix_read( gffh )
tabix_restartregion( gffh )
tabix_read( gffh )
tabix_read( gffh )
tabix_close( gffh )
gffh


[Package WhopGenome version 0.9.7 Index]