toCellDataSet: Convert an 'SCESet' to a 'CellDataSet'

Description Usage Arguments Value Examples

View source: R/SCESet-methods.R

Description

Convert an SCESet to a CellDataSet

Usage

1
toCellDataSet(sce, exprs_values = "exprs")

Arguments

sce

An SCESet object

exprs_values

What should exprs(cds) be mapped from in the SCESet? Should be one of "exprs", "tpm", "fpkm", "counts"

Value

An object of class SCESet

Examples

1
2
3
4
5
6
7
data("sc_example_counts")
data("sc_example_cell_info")
pd <- new("AnnotatedDataFrame", data = sc_example_cell_info)
example_sceset <- newSCESet(countData = sc_example_counts, phenoData = pd)
if ( requireNamespace("monocle") ) {
    toCellDataSet(example_sceset)
}

dynverse/scaterlegacy documentation built on Feb. 17, 2020, 5:07 a.m.