as.Seurat: Coerce object to Seurat

as.SeuratR Documentation

Coerce object to Seurat

Description

Coerce object to Seurat

Usage

as.Seurat(x, ...)

## S4 method for signature 'SingleCellExperiment'
as.Seurat(x)

Arguments

x

Object.

...

Additional arguments.

Details

Note that Seurat::as.Seurat() method requires logcounts to be defined in assays(), so we're using CreateSeuratObject() here instead.

Value

Seurat.

Note

Updated 2023-10-04.

See Also

  • Seurat::CreateSeuratObject().

  • Seurat::as.Seurat().

Examples

data(SingleCellExperiment_Seurat, package = "AcidTest")

## SingleCellExperiment to Seurat ====
from <- SingleCellExperiment_Seurat
to <- as.Seurat(from)
class(to)
print(to)

acidgenomics/pointillism documentation built on Oct. 18, 2023, 4:11 p.m.