makeSingleCellExperiment: Make a SingleCellExperiment object

View source: R/makeSingleCellExperiment.R

makeSingleCellExperimentR Documentation

Make a SingleCellExperiment object

Description

Make a SingleCellExperiment object

Usage

makeSingleCellExperiment(..., reducedDims = S4Vectors::SimpleList())

Arguments

...

Passthrough arguments to makeSummarizedExperiment().

reducedDims

SimpleList. List containing matrices of cell coordinates in reduced space.

Value

SingleCellExperiment.

Note

Updated 2022-03-02.

See Also

  • AcidExperiment::makeSummarizedExperiment().

  • SingleCellExperiment::altExps(), which has replaced the now defunct isSpike method for setting spike-in transcripts.

Examples

data(SingleCellExperiment_splatter, package = "AcidTest")

## SimpleList ====
object <- SingleCellExperiment_splatter
args <- list(
    "assays" = SummarizedExperiment::assays(object),
    "rowRanges" = SummarizedExperiment::rowRanges(object),
    "colData" = SummarizedExperiment::colData(object),
    "metadata" = S4Vectors::metadata(object),
    "reducedDims" = SingleCellExperiment::reducedDims(object)
)
sce <- do.call(what = makeSingleCellExperiment, args = args)
print(sce)

acidgenomics/r-acidsinglecell documentation built on March 30, 2024, 5:39 a.m.