convertSCEToSeurat: convertSCEToSeurat Converts sce object to seurat while...

Description Usage Arguments Value Examples

View source: R/seuratFunctions.R

Description

convertSCEToSeurat Converts sce object to seurat while retaining all assays and metadata

Usage

1
2
3
4
5
6
convertSCEToSeurat(
  inSCE,
  countsAssay = NULL,
  normAssay = NULL,
  scaledAssay = NULL
)

Arguments

inSCE

A SingleCellExperiment object to convert to a Seurat object.

countsAssay

Which assay to use from sce object for raw counts. Default NULL.

normAssay

Which assay to use from sce object for normalized data. Default NULL.

scaledAssay

Which assay to use from sce object for scaled data. Default NULL

Value

Updated seurat object that contains all data from the input sce object

Examples

1
2
data(scExample, package = "singleCellTK")
seurat <- convertSCEToSeurat(sce)

singleCellTK documentation built on Nov. 8, 2020, 5:21 p.m.