Displays the running enrichment score, gene-set hit positions with a rank heat band, and the ranked metric as three intrinsic parts of one standard ggplot. The parts share a rank-position axis and use fixed relative panel heights of 0.50, 0.20, and 0.30. This function does not call private enrichplot helpers or rerun GSEA.
Usage
plot_gsea_classic(
result,
term,
ranks = NULL,
gene_sets = NULL,
exponent = NULL,
term_label = NULL
)Arguments
- result
A native clusterProfiler gseaResult or a GSEA result table.
- term
One explicit term identifier to display.
- ranks
Optional decreasing, gene-named, finite numeric rank vector.
- gene_sets
Optional uniquely named list mapping terms to genes.
- exponent
Optional finite non-negative GSEA weighting exponent.
- term_label
Optional single non-empty display label for term.
Value
An unprinted standard ggplot object carrying recommended physical
dimensions for plot_save().