Description Usage Arguments Details Value See Also
View source: R/contrasting_functions.r
Internal function to calculate differential expression within an experiment between a specified group and cells not in that group.
1 2 | contrast_the_group_to_the_rest(dataset_se, the_group,
pvalue_threshold = 0.01, n.group = Inf, n.other = n.group * 5)
|
dataset_se |
Datast summarisedExperiment object. |
the_group |
group to test |
pvalue_threshold |
Default = 0.01 |
n.group |
How many cells to keep for each group in groupwise comparisons. Default = Inf |
n.other |
How many cells to keep from everything not in the group. Default = n.group * 5 |
This function should only be called by
contrast_each_group_to_the_rest
(which can be passed a single group name if desired). Else 'pofgenes' will
not be defined.
MAST is supplied with log2(counts + 1.1), and zlm called with model '~ TvsR + pofgenes' . The p-values reported are from the hurdle model. FDR is with default fdr/BH method.
A tibble, the within-experiment de_table (differential expression table), for the group specified.
contrast_each_group_to_the_rest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.