as_seurat: Convert a 'SingleCellExperiment' to 'Seurat' object.

View source: R/sce.R

as_seuratR Documentation

Convert a SingleCellExperiment to Seurat object.

Description

A wrapper around Seurat::as.Seurat().

Usage

as_seurat(sce, sce_assay = NULL, seurat_assay = "RNA", add_rowData = TRUE, ...)

Arguments

sce

A SingleCellExperiment object.

sce_assay

A character scalar: name of assay in sce (e.g. counts or logcounts). Use NULL to convert all assays (default).

seurat_assay

A character scalar: name of assay in the new Seurat object.

add_rowData

A logical scalar: if TRUE, add rowData(sce) to meta.features slot of assay of the new Seurat object.

...

Passed to Seurat::as.Seurat().

Value

A Seurat object.


bioinfocz/scdrake documentation built on Sept. 19, 2024, 4:43 p.m.