Learn R Programming

scater (version 1.0.4)

toCellDataSet: Convert an SCESet to a CellDataSet

Description

Convert an SCESet to a CellDataSet

Usage

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

Run this code
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)
}

Run the code above in your browser using DataLab