Applies mx_de to each study in a list, optionally in
parallel using BiocParallel.
Usage
mx_de_all(
studies,
method = "DESeq2",
formula = ~condition,
contrast = NULL,
BPPARAM = BiocParallel::SerialParam(),
...
)Arguments
- studies
A named list of
metaXpressStudyobjects.- method
Character scalar. DE method passed to
mx_de. Default:"DESeq2".- formula
A design formula (see
mx_de), or a list of formulas with one entry per study when covariates differ between studies. Default:~ condition.- contrast
NULL, a length-2 character vectorc(case, control)applied to every study, or a list with one such vector per study (labels often differ between GEO series).- BPPARAM
A
BiocParallelParamobject controlling parallelization. Defaults toSerialParam()(single-core). UseMulticoreParam()for multi-core execution.- ...
Additional arguments passed to
mx_de.
Examples
if (FALSE) { # \dontrun{
studies <- mx_de_all(studies, method = "DESeq2")
# Parallel:
studies <- mx_de_all(studies, method = "DESeq2",
BPPARAM = BiocParallel::MulticoreParam(4))
} # }
