decent | R Documentation |
Differential Expression with Capture Efficiency adjustmeNT
decent(data.obs, X, W = NULL, spikes = NULL, spike.conc = NULL, CE.range = c(0.02, 0.1), tau.init = c(-5, 0), tau.global = T, tau.est = "endo", use.spikes = FALSE, normalize = "ML", GQ.approx = TRUE, maxit = 30, parallel = T, n.cores = 0, s.imputed = F, E.imputed = F, dir = "./")
data.obs |
Observed count matrix for endogeneous genes, rows represent genes, columns represent cells. |
X |
An R model formula with covariates of interest (cell-type) as factor on the righthand side. |
W |
An R model formula with other covariates to adjust DE analysis on the righthand side. Default NULL |
spike.conc |
A vector of theoretical count for each spike-in in one cell (ONLY needed if spikes = |
CE.range |
A two-element vector of the lower limit and upper limit for the estimated range of
capture efficiencies (ONLY needed if spikes = |
tau.init |
initial estimates (intcp,slope) that link Beta-Binomial dispersion parameter to the mean expression. |
tau.global |
whether to use the same tau parameters across cell. Default TRUE |
tau.est |
Methods to estimate tau parameters. The default 'endo' corresponds to using endogeneous genes. Other options are 'spikes' that corresponds to using spike-ins and 'none', which means tau.init is not further estimated. |
use.spikes |
If |
normalize |
Method for estimating size factors, either 'ML' (maximum likelihood, Ye et al., 2017) or 'TMM' (Robinson et al., 2010). |
GQ.approx |
If |
parallel |
If |
n.cores |
Number of CPU cores to use, default is all (ONLY if parallel= |
s.imputed |
If |
E.imputed |
If |
dir |
Directory to save all outputs, including EM algorithm estimates of no-DE model and the LRT output. |
spike |
Observed count matrix for spike-ins, rows represent spike-ins, columns represent cells. Only needed if spikes = |
A list containing the result of differential expression analysis, with the following components: stat,pval,par.DE and par.noDE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.