| summarize_dge_pairs | R Documentation |
Collapses the long-form output of pseudobulk_deseq2(mode = "pairwise")
to a single row per (group, gene) by selecting one comparison per
gene-group pair. With mode = "min" it keeps the worst comparison
(most conservative — the gene must beat every other group to
have a high statistic). With mode = "max" it keeps the best
(most permissive — the gene need only beat one).
summarize_dge_pairs(dge_res, mode = c("min", "max")[1])
dge_res |
data.frame of pairwise results from
|
mode |
|
data.frame with one row per (group, gene), sorted by stat
descending within each group. The group2 column is dropped and
group1 is renamed to group.
pseudobulk_deseq2(), pseudobulk_pairwise()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.