Learn R Programming

WhopGenome (version 0.9.4)

fai_close: Closes a file previously opened with fai_open

Description

Closes a file previously opened with fai_open

Usage

fai_close( faifh )

Arguments

faifh
A FAIhandle as returned by fai_open

Value

TRUE if call succeeds, FALSE if it fails.

Details

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

See Also

fai_open

Examples

Run this code

##
##	Example :
##
faifile  <- system.file("extdata", "ex.fasta", package = "WhopGenome")
faifh <- fai_open( faifile )
stopifnot( faifh != NULL )
fai_close( faifh )

Run the code above in your browser using DataLab