scObj {SCArray} | R Documentation

## Seed-aware DelayedArray Object

### Description

Convert to SC_GDSArray for utilizing seed-aware DelayedArray functions.

### Usage

    scObj(obj, verbose=TRUE)

### Arguments

`obj` | a SummarizedExperiment, SingleCellExperiment or DelayedArray object
`verbose` | if TRUE, show information

### Value

Return an object with `SC_GDSMatrix`/`SC_GDSArray`.

### Author(s)

Xiuwen Zheng

### See Also

`scArray`, `scExperiment`

### Examples

    # 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

[Package SCArray version 1.2.1 Index]