plot_ma: Plot mean expression and fold change

View source: R/fct_05_deg.R

plot_maR Documentation

Plot mean expression and fold change

Description

Draw a ggplot of the overal mean expression for each gene and the calculated fold change for the selected comparison.

Usage

plot_ma(data, plot_colors, anotate_genes = NULL)

Arguments

data

Dataframe of processed data from volcano_data()

plot_colors

List containing three colors to differentiate between the up-regulated, down-regulated, and other genes

anotate_genes

List containing the gene names to be labeled on the plot. Default is NULL.

Value

A ggplot with the X-axis the mean expression value and the Y-axis the calculated fold-change from the DEG analysis.


espors/idepGolem documentation built on April 23, 2024, 1:11 p.m.