This function generates a volcano plot for differential expression analysis results.
volcano(
data,
x.scale,
y.scale,
interact = FALSE,
FC.threshold = 2,
P.threshold = 0.05,
change.label = c("Up", "Down", "Notsig"),
point.size = 2,
point.color = c("lightsalmon2", "cadetblue", "grey"),
x_scale_mannual = FALSE,
y_scale_mannual = FALSE,
linetype = 4,
line.alpha = 0.4,
line.color = "grey34",
line.size = 1,
annotation.label = NULL,
annotation.color = "#C82423",
text.size = 2.5,
max.overlap = 40,
title = NULL
)
A list containing the plot object, data frame with plotted points, and omitted data points. If interact = TRUE, the html object of the interactive plot will be also returned.
The data frame containing the results of differential expression analysis.
The manual limits for the x-axis (default is NULL).
The manual limits for the y-axis (default is NULL).
Logical value indicating whteher to generate interactive volcano plot.
The fold change threshold for determining significant changes (default is 2).
The significance threshold for p-values (default is 0.05).
The labels for differentially expressed genes (default is c('Up', 'Down', 'Notsig')).
The size of data points in the plot (default is 2).
The colors for differentially expressed genes (default is c('lightsalmon2', 'cadetblue', 'grey')).
Logical value indicating whether to manually specify x-axis limits (default is FALSE).
Logical value indicating whether to manually specify y-axis limits (default is FALSE).
The line type for significance thresholds (default is 4).
The transparency level for significance thresholds (default is 0.4).
The color for significance thresholds (default is 'grey34').
The size of significance thresholds (default is 1).
The name of species that need to be annotated (default is NULL).
The color of the annotation points (default is '#C82423')
The size of gene labels (default is 1.5).
The maximum number of overlapping labels allowed (default is 40).
The title for the plot (default is NULL).