Skip to contents

Renders a ComplexHeatmap::Heatmap showing -log10(adj p) per (group, annotation). Top n motifs per group by mlog10_padj are kept (default 10). Values are clipped at cutoff for visual stability.

Usage

plot_enrichment_heatmap(enrichment, n = 10L, cutoff = 20, ...)

Arguments

enrichment

(tibble) Long-format enrichment table. Must have columns group, annotation, mlog10_padj.

n

(integer) Top motifs per group to include. Default 10.

cutoff

(numeric) Maximum mlog10_padj for color scale. Default 20.

...

Additional arguments passed to ComplexHeatmap::Heatmap().

Value

A ComplexHeatmap::Heatmap object.

Details

ArchR correspondence: plotEnrichHeatmap(). Color scale uses MarchR's "solarExtra" palette via palette_continuous().