fai_close: Closes a file previously opened with fai_open

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/fai.R

Description

Closes a file previously opened with fai_open

Usage

1
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

1
2
3
4
5
6
7
##
##	Example :
##
faifile  <- system.file("extdata", "ex.fasta", package = "WhopGenome")
faifh <- fai_open( faifile )
stopifnot( !is.null(faifh) )
fai_close( faifh )

WhopGenome documentation built on May 1, 2019, 10:12 p.m.