Learn R Programming

Seurat (version 5.0.3)

as.Seurat.CellDataSet: Convert objects to Seurat objects

Description

Convert objects to Seurat objects

Usage

# S3 method for CellDataSet
as.Seurat(x, slot = "counts", assay = "RNA", verbose = TRUE, ...)

# S3 method for SingleCellExperiment as.Seurat( x, counts = "counts", data = "logcounts", assay = NULL, project = "SingleCellExperiment", ... )

Value

A Seurat object generated from x

Arguments

x

An object to convert to class Seurat

slot

Slot to store expression data as

assay

Name of assays to convert; set to NULL for all assays to be converted

verbose

Show progress updates

...

Arguments passed to other methods

counts

name of the SingleCellExperiment assay to store as counts; set to NULL if only normalized data are present

data

name of the SingleCellExperiment assay to slot as data. Set to NULL if only counts are present

project

Project name for new Seurat object

See Also

SeuratObject::as.Seurat