as.Seurat | R Documentation |
Coerce object to Seurat
as.Seurat(x, ...)
## S4 method for signature 'SingleCellExperiment'
as.Seurat(x)
x |
Object. |
... |
Additional arguments. |
Note that Seurat::as.Seurat()
method requires logcounts
to be defined
in assays()
, so we're using CreateSeuratObject()
here instead.
Seurat
.
Updated 2023-10-04.
Seurat::CreateSeuratObject()
.
Seurat::as.Seurat()
.
data(SingleCellExperiment_Seurat, package = "AcidTest")
## SingleCellExperiment to Seurat ====
from <- SingleCellExperiment_Seurat
to <- as.Seurat(from)
class(to)
print(to)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.