closeGDS: Close the connection to the GDS file

closeGDSR Documentation

Close the connection to the GDS file

Description

Close the connection to the GDS file linked to the given GbsrGenotypeData object.

Usage

closeGDS(object, save_filter = FALSE, verbose = TRUE, ...)

## S4 method for signature 'GbsrGenotypeData'
closeGDS(object, save_filter, verbose)

Arguments

object

A GbsrGenotypeData object.

save_filter

A logical whether to save the filtering information made via setSamFilter() and setMarFilter() in the GDS file. The saved filter information can be reused if set load_filter = TRUE for loadGDS().

verbose

if TRUE, show information.

...

Unused.

Value

NULL.

Examples

# Load data in the GDS file and instantiate a [GbsrGenotypeData] object.
gds_fn <- system.file("extdata", "sample.gds", package = "GBScleanR")
gds <- loadGDS(gds_fn)

# Close the connection to the GDS file
closeGDS(gds)


tomoyukif/GBScleanR documentation built on Oct. 31, 2024, 2:43 a.m.