Description Usage Arguments Details Value Author(s) See Also Examples
Reopen a FAIhandle that has become stale, e.g. by restarting R or loading a workspace containing a FAIhandle variable.
1 | fai_reopen( faifh )
|
faifh |
A FAIhandle to a .fai-indexed FASTA file |
Use .Call("FAI_reopen", faifh ) to eliminate the slight overhead of using the R wrapper function.
TRUE if call succeeds, FALSE if it fails.
Ulrich Wittelsbuerger
fai_open
1 2 3 4 5 6 7 8 9 10 11 12 | ##
## Example :
##
faifile <- system.file("extdata", "ex.fasta", package = "WhopGenome")
faifh <- fai_open( faifile )
stopifnot( !is.null(faifh) )
result <- fai_query4( faifh , "1", 100 , 200 )
print( result )
fai_close( faifh )
fai_reopen( faifh )
result <- fai_query4( faifh , "1", 100 , 110 )
print( result )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.