reopenGDS | R Documentation |
Reopen the connection to the GDS file.
reopenGDS(object, ...)
## S4 method for signature 'GbsrGenotypeData'
reopenGDS(object)
object |
A GbsrGenotypeData object. |
... |
Unused. |
The GbsrGenotypeData object stores the file path of the GDS file even after closing the connection the file. This function open again the connection to the GDS file at the file path stored in the GbsrGenotypeData object. If the GbsrGenotypeData object witch has an open connection to the GDS file, this function will reopen the connection. The data stored in the marker and sample slots will not be changed. Thus, you can open a connection with the GDS file with keeping information of filtering and summary statistics.
A GbsrGenotypeData object.
# Use a GDS file of example data.
gds_fn <- system.file("extdata", "sample.gds", package = "GBScleanR")
# Instantiation of [GbsrGenotypeData]
gds <- loadGDS(gds_fn)
# Close the connection to the GDS file
closeGDS(gds)
gds <- reopenGDS(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.