| scClose {SCArray} | R Documentation |
Closes a single-cell GDS file which is open.
scClose(gdsfile)
gdsfile |
a single-cell GDS object with class |
None.
Xiuwen Zheng
# a GDS file for SingleCellExperiment
fn <- system.file("extdata", "LaMannoBrainData.gds", package="SCArray")
# open the GDS file
(f <- scOpen(fn))
# read
cell.id <- read.gdsn(index.gdsn(f, "feature.id"))
samp.id <- read.gdsn(index.gdsn(f, "sample.id"))
scClose(f)