| scObj {SCArray} | R Documentation |
Convert to SC_GDSArray for utilizing seed-aware DelayedArray functions.
scObj(obj, verbose=TRUE)
obj |
a SummarizedExperiment, SingleCellExperiment or DelayedArray object |
verbose |
if TRUE, show information |
Return an object with SC_GDSMatrix/SC_GDSArray.
Xiuwen Zheng
# a GDS file for SingleCellExperiment
fn <- system.file("extdata", "LaMannoBrainData.gds", package="SCArray")
cnt <- scArray(fn, "counts")
cnt # it is SC_GDSMatrix
logcnt <- log2(cnt + 1)
logcnt # it is a general DelayedMatrix
# convert to SC_GDSMatrix
lcnt <- scObj(logcnt)
lcnt