ggvolcano: Volcano plots using ggplot2

View source: R/ggvolcano.R

ggvolcanoR Documentation

Volcano plots using ggplot2

Description

Volcano plots using ggplot2

Usage

ggvolcano(
  data,
  x = NULL,
  y = NULL,
  color = NULL,
  label = NULL,
  shape = NULL,
  stroke = NA,
  nlabels = NULL,
  lab_size = 12,
  labface = "plain",
  repel = 1.5,
  attract = NULL,
  box.padding = 0.5,
  max_overlaps = Inf,
  seed = 123,
  ptres = 0.05,
  clip = FALSE,
  symlim = TRUE,
  expand = c(0, 0),
  nbreaks_x = 7,
  nbreaks_y = 7,
  xlim = NULL,
  ylim = NULL,
  color_up = "#eb9d0e",
  color_down = "#146bc7",
  color_nonsig = "#4d4d4d",
  title = NULL,
  title_size = NULL,
  point_size = 2,
  scale_size = FALSE,
  axis_size = NULL,
  leg_size = NULL,
  lwd = 0.8,
  at_zero = FALSE,
  ...
)

Arguments

data

Dataframe

x

Variable to plot on x-axis

y

Variable to plot on y-axis

...

Examples

data.frame(row.names = LETTERS, lfc = runif(length(LETTERS), -3, 3), padj = runif(length(LETTERS))) |> ggvolcano()

AlexanderKirchmair/datamisc documentation built on June 13, 2025, 5:26 a.m.