Learn R Programming

ivolcano (version 0.0.5)

pathway_volcano: pathway_volcano

Description

Combine Interactive Pathway Dot Plot and Volcano Plot

Usage

pathway_volcano(
  p1,
  p2,
  widths = c(1, 1),
  trigger = c("click", "hover"),
  hover_css = "stroke:red;stroke-width:2px;",
  hover_inv_css = "opacity:0.15;",
  tooltip_css =
    "background:#fff;color:#000;border:1px solid #999;padding:6px;border-radius:4px;",
  non_selected_color = "#BDBDBD",
  non_selected_opacity = 0.25,
  label_follow = TRUE,
  ...
)

Value

a girafe object

Arguments

p1

interactive dot plot (from idotplot)

p2

interactive volcano plot (from ivolcano)

widths

relative widths of the two plots, default is c(1, 1)

trigger

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

hover_css

css for hovered elements

hover_inv_css

css for non-hovered elements

tooltip_css

css for tooltip

non_selected_color

color for non-selected volcano points

non_selected_opacity

opacity for non-selected volcano points

label_follow

whether volcano labels follow pathway selection

...

additional parameters passed to ggiraph::girafe

Author

Guangchuang Yu