Displays one of three distinct over-representation metrics without
treating them as interchangeable: rich factor is overlap divided by the
background term size, gene ratio is overlap divided by the input list size,
and fold enrichment is gene ratio divided by background ratio. Point area
represents overlap count and colour represents finite -log10() evidence;
adjusted evidence is labelled compactly as adj p.
Arguments
- result
A clusterProfiler
enrichResultor an ORA result data frame containingID,Description,GeneRatio,BgRatio,pvalue,p.adjust, andCount.- terms
Unique term identifiers to display, in the desired order. Terms are never selected automatically.
- x
ORA metric displayed on the horizontal axis.
- p_value
Evidence column to display.
"auto"uses adjusted p-values only when every selected term has one; otherwise the whole plot uses raw p-values.- term_labels
Optional complete term-named character vector describing the selected
terms.
Value
An unprinted standard ggplot object carrying recommended physical
dimensions for plot_save().