Skip to contents

Generates a volcano plot based on the results of differential expression analysis, highlighting upregulated and downregulated genes, with labels for top significant genes.

Usage

plot_exp_volcano(
  diffexp,
  nb = 10,
  title = "Volcano Plot of Differential Expression"
)

Arguments

diffexp

A data frame containing differential expression results. Must include: - `log2FoldChange`: The log2 fold change values for each gene. - `padj`: The adjusted p-value for each gene.

nb

The number of genes that have an annotation

Value

A `ggplot` object representing the volcano plot.