One bar per pairwise statistic, ordered by `(set_a_index, set_b_index)`. Bar height is proportional to the chosen `metric`:
`"neglog10fdr"` (default): \(-\log_{10}\)(BH-FDR), floor 1e-300.
`"foldEnrichment"`: \((k \cdot N) / (K \cdot n)\) from [StatisticsResult-class]'s `fold_enrichment` slot.
Usage
render_enrichment_bar(
result,
metric = c("neglog10fdr", "foldEnrichment"),
width = 560L,
height = 240L
)Details
Bars use #2e7d32 for significant pairs (FDR < 0.05) and
#888888 otherwise. Significance markers `***` (< 0.001),
`**` (< 0.01), and `*` (< 0.05) appear above each bar.
Pure string construction – no xml2.