fai_close {WhopGenome}R Documentation

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

Details

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

Value

TRUE if call succeeds, FALSE if it fails.

Author(s)

Ulrich Wittelsbuerger

See Also

fai_open

Examples


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


[Package WhopGenome version 0.9.7 Index]