The plotORA
function visualizes the results of an ORA (Over-Representation Analysis) test.
It generates a plot with customizable aesthetics for x, y, point size, and fill, with an option to flip the axes.
plotORA(data, x, y, size, fill, flip = FALSE)
ggplot2 object.
A data frame containing the ORA results to be visualized.
The column in data
to map to the x-axis.
The column in data
to map to the y-axis.
The column in data
to map to the size of the points.
The column in data
to map to the fill color of the bars or points.
Use a constant value for a single category.
A logical value indicating whether to flip the axes of the plot. Default is FALSE
.