Interactive Dot Plot
idotplot(
object,
x = "GeneRatio",
color = "p.adjust",
showCategory = 10,
size = "Count",
label_format = 30,
trigger = c("click", "hover"),
title = "",
...
)ggplot object with interactive layers
enrichment result object (e.g. enrichResult) or a data frame
x-axis variable, one of 'GeneRatio', 'Count', etc.
variable for color, e.g., 'p.adjust'
number of categories to show
variable for size, e.g., 'Count'
a numeric value sets wrap length, alternatively a custom function to format axis labels.
interaction trigger, one of "click" or "hover"
plot title
additional parameters passed to fortify
Guangchuang Yu