plotVolcano: Plot Volcano Plot for Differentially Expressed Genes

View source: R/limma.R

plotVolcanoR Documentation

Plot Volcano Plot for Differentially Expressed Genes

Description

This function generates a volcano plot for differentially expressed genes (DEGs) using ggplot2. It allows for customization of the plot with different aesthetic parameters.

Usage

plotVolcano(data, data.text, x, y, color, label)

Arguments

data

A data frame containing the DEGs result.

data.text

A data frame containing labeled data for text annotation.

x

variable representing the aesthetic for the x-axis.

y

variable representing the aesthetic for the y-axis.

color

variable representing the column name for the color aesthetic.

label

variable representing the column name for the text label aesthetic.

Value

A ggplot object representing the volcano plot.


easybio documentation built on Sept. 17, 2024, 1:08 a.m.