Plot Mean Average

# S4 method for DESeqResults
plotMA(object, labelPoints = NULL,
  labelColumn = "ensgene", pointColorScale = c("darkgray", "red"),
  labelColor = "black")

# S4 method for data.frame
plotMA(object, alpha = 0.01, labelPoints = NULL,
  labelColumn = "ensgene", pointColorScale = c("darkgray", "red"),
  labelColor = "black", title = TRUE)

Arguments

object

Object.

labelPoints

Optional. Label these particular points.

labelColumn

Match labelPoints argument to this column in the results.

pointColorScale

Point color scale. See ggplot2::scale_color_manual() for more information.

labelColor

Text label color.

alpha

Alpha level cutoff (Adjusted P value).

title

Plot title.

Value

ggplot.

See also

Other Differential Expression Plots: plotVolcano

Examples

genes <- c("ENSMUSG00000104523", "ENSMUSG00000016918") # DESeqResults plotMA(res, labelPoints = genes)
# data.frame
# NOT RUN { df <- as.data.frame(res) plotMA(df, alpha = 0.1, labelPoints = genes) # }