MAPlot: MA-plots

View source: R/MAPlot.R

MAPlotR Documentation

MA-plots

Description

MA-plot for each comparison: log2(FC) vs mean of normalized counts with one dot per feature (red dot for a differentially expressed feature, black dot otherwise)

Usage

MAPlot(
  complete,
  alpha = 0.05,
  outfile = TRUE,
  log2FClim = NULL,
  ggplot_theme = theme_gray()
)

Arguments

complete

A list of data.frame containing features results (from exportResults.DESeq2() or exportResults.edgeR())

alpha

cut-off to apply on each adjusted p-value

outfile

TRUE to export the figure in a png file

log2FClim

numeric vector containing both upper and lower y-axis limits for all the MA-plots produced (NULL by default to set them automatically)

ggplot_theme

ggplot2 theme function (theme_gray() by default)

Value

A file named MAPlot.png in the figures directory containing one MA-plot per comparison

Author(s)

Marie-Agnes Dillies and Hugo Varet


PF2-pasteur-fr/SARTools documentation built on April 6, 2022, 2:24 a.m.