glimmaMA {Glimma} | R Documentation

## Glimma MA Plot

### Description

Generic function for drawing a two-panel interactive MA plot, a special case of the glimmaXY plot. The function invokes the following methods which depend on the class of the first argument:

- `glimmaMA.MArrayLM` for limma analysis

- `glimmaMA.DGEExact` for edgeR analysis, produced from `exactTest`

- `glimmaMA.DGELRT` for edgeR analysis, produced from `glmLRT`

- `glimmaMA.DESeqDataSet` for DESeq2 analysis

### Usage

    glimmaMA(x, ...)

### Arguments

`x` | the DE object to plot.
`...` | additional arguments affecting the plots produced. See specific methods for detailed arguments.

### Details

The summary plot on the left represents gene-wise log-fold-change (logFC) on the y-axis versus average gene expression calculated as log-counts-per-million (logCPM) values. We call our summary plot an MA plot because this type of plot was originally referred to as an MA plot in the `limma` package, with the M-value representing logFC and A-value representing average expression - it has since been renamed to MD plot in the `limma` package. The expression plot on the right displays sample expression values for a single gene. Interactions with the htmlwidget include clicking on genes (points) in the summary plot to bring up associated sample expression values in the expression plot, as well as the summary statistics in the table below. Alternatively, users can interact with the table by clicking on genes (rows) to highlight genes in the summary plot, as well as bring up associated sample expression values in the expression plot. Briefly, other interactive features include a search box for the table, buttons to save plots and data (summary statistics and expression values), additional pop-up information when hovering on points in plots, and rescaling of the y-axis in the expression plot.

### Value

htmlwidget object or `NULL` if `html` argument is specified.

### Examples

    methods(glimmaMA) # show methods for glimmaMA

[Package Glimma version 2.0.0 Index]