View source: R/makeSingleCellExperiment.R
makeSingleCellExperiment | R Documentation |
Make a SingleCellExperiment object
makeSingleCellExperiment(..., reducedDims = S4Vectors::SimpleList())
... |
Passthrough arguments to |
reducedDims |
|
SingleCellExperiment
.
Updated 2022-03-02.
AcidExperiment::makeSummarizedExperiment()
.
SingleCellExperiment::altExps()
, which has replaced the now defunct
isSpike
method for setting spike-in transcripts.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.