ggvolcano | R Documentation |
Volcano plots using ggplot2
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,
...
)
data |
Dataframe |
x |
Variable to plot on x-axis |
y |
Variable to plot on y-axis |
... |
data.frame(row.names = LETTERS, lfc = runif(length(LETTERS), -3, 3), padj = runif(length(LETTERS))) |> ggvolcano()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.