as.Seurat: Convert objects to 'Seurat' objects

as.Seurat.CellDataSetR Documentation

Convert objects to Seurat objects

Description

Convert objects to Seurat objects

Usage

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

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

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

Value

A Seurat object generated from x

See Also

SeuratObject::as.Seurat


Seurat documentation built on May 29, 2024, 4:20 a.m.