plotEnrichGroup
plotEnrichGroup.RdVisualize GO enrichment results for a specific expression pattern
Arguments
- enrich_obj
An
enrichResultobject (fromenrichPattern()) or one element of a group enrichment list- terms
Character vector of GO IDs to display. If NULL, top
nterms are shown.- n
Number of top terms to show if
terms = NULL(default: 10)
Details
This function takes an enrichment result from enrichPattern()
or group-enrichment list, selects user-defined GO terms (or top-ranked ones),
and generates a bubble plot summarizing the enrichment. Gene ratio is shown on the x-axis, enriched terms on the y-axis,
point size represents gene count, and color represents adjusted q-value.