Description Usage Arguments Value Author(s) See Also Examples
Opens a single-cell GDS file.
1 |
gdsfn |
the input file name |
readonly |
whether read-only or not |
allow.duplicate |
if |
Return an object of class SCArrayFileClass
inherited from
gds.class
.
Xiuwen Zheng
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # a GDS file for SingleCellExperiment
fn <- system.file("extdata", "LaMannoBrainData.gds", package="SCArray")
# open the GDS file
(f <- scOpen(fn))
# read a GDS file
cell.id <- read.gdsn(index.gdsn(f, "feature.id"))
samp.id <- read.gdsn(index.gdsn(f, "sample.id"))
# get a DelayedArray object
(cnt <- scArray(f, "counts"))
scClose(f)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.