enrichMAplot: MA plot of enriched annotations.

Description Usage Arguments Value Examples

Description

Make an MA-like plot of enriched annotations, similar to the commonly used plots in differential expression analysis.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
enrichMAplot(x, pvalue = "pvals", siglev = 0.05, size = 1,
  alpha = 1)

## S4 method for signature 'list'
enrichMAplot(x, pvalue = "pvals", siglev = 0.05,
  size = 1, alpha = 1)

## S4 method for signature 'AnnotatedDataFrame'
enrichMAplot(x, pvalue = "pvals",
  siglev = 0.05, size = 1, alpha = 1)

Arguments

x

AnnotatedDataFrame object, or a list of those.

pvalue

Character, one of c("pvals", "padj").

siglev

Numeric, significance level to be used for plotting.

size

Numeric, size of points in plot.

alpha

Numeric, between 0 and 1, indicating points' transparency.

Value

A ggplot object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
require(ggplot2)

HD59_KO
enrichMAplot(HD59_KO)
enrichMAplot(HD59_KO, pvalue = "padj")
enrichMAplot(HD59_KO, siglev = 0.01)
enrichMAplot(HD59_KO, pvalue = "padj", siglev = 0.01)

x <- list(disease = LD94_KO, healthy = HD59_KO)
enrichMAplot(x)

coRdon documentation built on Nov. 8, 2020, 5:28 p.m.