View source: R/show_group_enrichment.R
show_group_enrichment | R Documentation |
See group_enrichment for examples. NOTE the box fill and the box text have different meanings.
show_group_enrichment(
df_enrich,
return_list = FALSE,
scales = "free",
add_text_annotation = TRUE,
fill_by_p_value = TRUE,
use_fdr = TRUE,
cut_p_value = FALSE,
cut_breaks = c(-Inf, -5, log10(0.05), -log10(0.05), 5, Inf),
cut_labels = c("↓ 1e-5", "↓ 0.05", "non-significant", "↑ 0.05", "↑ 1e-5"),
fill_scale = scale_fill_gradient2(low = "#08A76B", mid = "white", high = "red",
midpoint = ifelse(fill_by_p_value, 0, 1)),
cluster_row = FALSE,
cluster_col = FALSE,
...
)
df_enrich |
result |
return_list |
if |
scales |
Should scales be fixed ( |
add_text_annotation |
if |
fill_by_p_value |
if |
use_fdr |
if |
cut_p_value |
if |
cut_breaks |
when |
cut_labels |
when |
fill_scale |
a |
cluster_row , cluster_col |
if |
... |
other parameters passing to ggplot2::facet_wrap, only used
when |
a (list of) ggplot
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.