regressCycle | R Documentation |
A wrapper for scater's normalizeExprs function to regress out the cell-cycle from a dataset. Or for glm to regress out differences between specific cell-cycle phases.
regressCyclePartial(SCE, classification, expr_name="logcounts", method=c("scores", "phase"), phases=c("G2M", "G1S"))
regressCycleScater(SCE, classification, expr_name="logcounts", method=c("scores", "phase"))
SCE |
a SingleCellExperiment object. |
classification |
output from |
expr_name |
name of the expression matrix to use, must be an element of assays(SCE). |
method |
which factor to regress on. |
phases |
which phases to regress out. |
regressCycleScater
Creates a design matrix based on either the phase-signatures ("scores") or the
phase assignments ("phase"). Then runs normalizeExprs
from the scater package to
regress out the cell-cycle.
regressCyclePartial
Creates a design matrix based on either the phase-signatures ("scores") or the
phase assignments ("phase"). Uses a GLM to remove differences between the provided set of phases.
regressCycleScater
The input SingleCellExperiment object with the regressed expression saved to the 'norm_exprs' slot.
regressCyclePartial
Uses a glm to regress out differences among a select set of cell cycle phases
normalizeExprs, classifyCells
classification <- classifyCells(Ex, MGeneSets$Cyclone, do.scale=TRUE, allow.multi=FALSE);
Ex <- regressCyclePartial(Ex, classification, method="scores", phases=c("G1", "S", "G2M"))
Ex <- regressCyclePartial(Ex, classification, method="phase", phases=c("G1", "S", "G2M"))
Ex <- regressCycleScater(Ex, classification, method="phase")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.