Dotplot of the top over-represented terms by WGCNA module.
Usage
plot_ORA(
x,
n_terms = 5L,
mods = 1:5,
subset = "GO:MF",
rel_heights = c(0.8, 0.2)
)
Arguments
- x
- n_terms
integer; maximum number of top over-represented terms to display from each module.
- mods
integer; the module numbers to include in the plot. By default, terms from modules 1-5 (the 5 largest modules) are shown.
- subset
character; the gene set subcategory of terms to plot. Default is "GO:MF".
- rel_heights
numeric; vector of length 2 specifying the relative heights of the plot and color legend, respectively. Default is c(0.8, 0.2).
Value
A ggplot
object.