scClose: Close the Single-cell GDS File

Description Usage Arguments Value Author(s) See Also Examples

View source: R/scarray_main.r

Description

Closes a single-cell GDS file which is open.

Usage

1
scClose(gdsfile)

Arguments

gdsfile

a single-cell GDS object with class SCArrayFileClass

Value

None.

Author(s)

Xiuwen Zheng

See Also

scOpen

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# 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)

zhengxwen/SCArray documentation built on Jan. 1, 2021, 1:54 p.m.