Learn R Programming

ivolcano (version 0.0.5)

idotplot: idotplot

Description

Interactive Dot Plot

Usage

idotplot(
  object,
  x = "GeneRatio",
  color = "p.adjust",
  showCategory = 10,
  size = "Count",
  label_format = 30,
  trigger = c("click", "hover"),
  title = "",
  ...
)

Value

ggplot object with interactive layers

Arguments

object

enrichment result object (e.g. enrichResult) or a data frame

x

x-axis variable, one of 'GeneRatio', 'Count', etc.

color

variable for color, e.g., 'p.adjust'

showCategory

number of categories to show

size

variable for size, e.g., 'Count'

label_format

a numeric value sets wrap length, alternatively a custom function to format axis labels.

trigger

interaction trigger, one of "click" or "hover"

title

plot title

...

additional parameters passed to fortify

Author

Guangchuang Yu