ggMA: MA plot from mean expression and log fold changes

Description Usage Arguments Details Author(s) Examples

Description

This function allows you to extract necessary results-based data from a DESeq object class to create a MA plot (i.e. a scatter plot) of log2 fold changes versus normalized mean counts while implementing ggplot2 aesthetics.

Usage

1
ggMA(data, ylim = NULL, padj = 0.05, lfc = 1)

Arguments

data

a DESeq object class

ylim

optional limits to the y axis

padj

significance threshold for adjusted p-value highlighting

lfc

fold change threshold for visualization

Details

This function allows the user to extract various elements from a DESeq object class which in turn, creates a temporary data frame to plot the necessary ggplot aesthetics. Data points with 'extreme' values that exceed the default viewing frame of the plot will change character classes (i.e. points of interest a substantially large log fold change).

Author(s)

Brandon Monier, brandon.monier@sdstate.edu

Examples

1
ggMA()

btmonier/ggDESeq documentation built on May 13, 2019, 8:40 a.m.