Description Usage Arguments Details Value Functions Author(s) References Examples
Performs cluster-wise DE analysis by fitting cell-level models.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | mmDS(
x,
coef = NULL,
covs = NULL,
method = c("dream2", "dream", "vst", "poisson", "nbinom", "hybrid"),
n_cells = 10,
n_samples = 2,
min_count = 1,
min_cells = 20,
n_threads = 1,
verbose = TRUE,
vst = c("sctransform", "DESeq2"),
ddf = c("Satterthwaite", "Kenward-Roger", "lme4"),
dup_corr = FALSE,
trended = FALSE,
bayesian = FALSE,
blind = TRUE,
REML = TRUE,
moderate = FALSE
)
.mm_dream(
x,
coef = NULL,
covs = NULL,
dup_corr = FALSE,
trended = FALSE,
ddf = c("Satterthwaite", "Kenward-Roger"),
n_threads = 1,
verbose = FALSE
)
.mm_dream2(
x,
coef = NULL,
covs = NULL,
ddf = c("Satterthwaite", "Kenward-Roger"),
n_threads = 1,
verbose = FALSE
)
.mm_vst(
x,
vst = c("sctransform", "DESeq2"),
coef = NULL,
covs = NULL,
bayesian = FALSE,
blind = TRUE,
REML = TRUE,
ddf = c("Satterthwaite", "Kenward-Roger", "lme4"),
n_threads = 1,
verbose = FALSE
)
.mm_glmm(
x,
coef = NULL,
covs = NULL,
n_threads = 1,
family = c("poisson", "nbinom"),
verbose = TRUE,
moderate = FALSE
)
|
x |
a |
coef |
character specifying the coefficient to test.
If NULL (default), will test the last level of |
covs |
character vector of |
method |
a character string.
Either |
n_cells |
number of cells per cluster-sample required to consider a sample for testing. |
n_samples |
number of samples per group required to consider a cluster for testing. |
min_count |
numeric. For a gene to be tested in a given cluster,
at least |
min_cells |
number (or fraction, if < 1) of cells with a count >
|
n_threads |
number of threads to use. |
verbose |
logical specifying whether messages on progress and a progress bar should be displayed. |
vst |
method to use as variance-stabilizing transformations.
|
ddf |
character string specifying the method for estimating
the effective degrees of freedom. For |
dup_corr |
logical; whether to use
|
trended |
logical; whether to use expression-dependent variance priors
in |
bayesian |
logical; whether to use bayesian mixed models. |
blind |
logical; whether to ignore experimental design for the vst. |
REML |
logical; whether to maximize REML instead of log-likelihood. |
moderate |
logical; whether to perform empirical Bayes moderation. |
family |
character string specifying which GLMM to fit:
|
The .mm_*
functions (e.g. .mm_dream
) expect cells from a single
cluster, and do not perform filtering or handle incorrect parameters well.
Meant to be called by mmDS
with method = c("dream", "vst")
and
vst = c("sctransform", "DESeq2")
to be applied across all clusters.
method = "dream2"
variancePartition
's (>=1.14.1) voom-lme4-implementation
of mixed models for RNA-seq data; function dream
.
method = "dream"
variancePartition
's older voom-lme4-implementation
of mixed models for RNA-seq data; function dream
.
method = "vst"
vst = "sctransform"
lmer
or blmer
mixed models on
vst
transformed counts.
vst = "DESeq2"
varianceStabilizingTransformation
followed by lme4
mixed models.
a data.frame
.mm_dream
: see details.
.mm_dream2
: see details.
.mm_vst
: see details.
.mm_glmm
: see details.
Pierre-Luc Germain & Helena L Crowell
Crowell, HL, Soneson, C, Germain, P-L, Calini, D, Collin, L, Raposo, C, Malhotra, D & Robinson, MD: On the discovery of population-specific state transitions from multi-sample multi-condition single-cell RNA sequencing data. bioRxiv 713412 (2018). doi: https://doi.org/10.1101/713412
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.