Create a volcano plot from differential analysis results table.
Usage
plot_volcano(x, pval_cutoff = 0.05, colors = c("#3366ff", "darkred", "grey"))
Arguments
- x
a
matrix
ordata.frame
containing differential analysis results. Must include columnslogFC
,pval
, contrast, and label.- pval_cutoff
numeric; cutoff for adjusted p-values to be considered significant. Adds a dashed horizontal line to the plot.
- colors
character; length 3 vector of significantly negative, significantly positive, and non-significant (NS) logFC colors.