isOpenGDS | R Documentation |
Check if a GDS file has been opened or not.
isOpenGDS(object, ...)
## S4 method for signature 'GbsrGenotypeData'
isOpenGDS(object)
object |
A GbsrGenotypeData object. |
... |
Unused. |
TRUE
if the GDS file linked to the input GbsrGenotypeData object
has been opened, while FALSE
if closed.
# Use a GDS file of example data.
gds_fn <- system.file("extdata", "sample.gds", package = "GBScleanR")
# Instantiation of [GbsrGenotypeData]
gds <- loadGDS(gds_fn)
# Check connection to the GDS file
isOpenGDS(gds)
# Close the connection to the GDS file
closeGDS(gds)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.