This function generates a volcano plot for differentially expressed genes
(DEGs) using ggplot2. It allows for customization of the plot with
different aesthetic parameters.
plotVolcano(data, data.text, x, y, color, label)A ggplot object representing the volcano plot.
A data frame containing the DEGs result.
A data frame containing labeled data for text annotation.
variable representing the aesthetic for the x-axis.
variable representing the aesthetic for the y-axis.
variable representing the column name for the color aesthetic.
variable representing the column name for the text label aesthetic.