as.SingleCellExperiment | R Documentation |
SingleCellExperiment
Coerce object to SingleCellExperiment
as.SingleCellExperiment(x, ...)
## S4 method for signature 'Seurat'
as.SingleCellExperiment(x)
x |
Object. |
... |
Additional arguments. |
S4 coercion support for creating a SingleCellExperiment
from a Seurat
class object. Internally, this method improves the basic
Seurat::as.SingleCellExperiment
S3 coercion method, including the
object@scale.data
matrix, and will keep track of stashed rowRanges
and
metadata
if the Seurat
object was originally created from a
SingleCellExperiment
(i.e. from the bcbioSingleCell package).
DESeqDataSet
.
Updated 2023-10-04.
Seurat::as.SingleCellExperiment()
.
data(Seurat, package = "AcidTest")
## Seurat to SingleCellExperiment ====
from <- Seurat
to <- as.SingleCellExperiment(from)
class(to)
print(to)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.