scde.expression.magnitude: Return scaled expression magnitude estimates

Description Usage Arguments Value Examples

View source: R/functions.R

Description

Return point estimates of expression magnitudes of each gene across a set of cells, based on the regression slopes determined during the model fitting procedure.

Usage

1
scde.expression.magnitude(models, counts)

Arguments

models

models determined by scde.error.models

counts

count matrix

Value

a matrix of expression magnitudes on a log scale (rows - genes, columns - cells)

Examples

1
2
3
4
5
data(es.mef.small)
cd <- clean.counts(es.mef.small, min.lib.size=1000, min.reads = 1, min.detected = 1)
data(o.ifm)  # Load precomputed model. Use ?scde.error.models to see how o.ifm was generated
# get expression magnitude estimates
lfpm <- scde.expression.magnitude(o.ifm, cd)

scde documentation built on Nov. 8, 2020, 6:19 p.m.