heatplot: heatplot

Description Usage Arguments Value Author(s) Examples

Description

heatmap like plot for functional classification

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
heatplot(x, showCategory = 30, foldChange = NULL)

## S4 method for signature 'enrichResult'
heatplot(x, showCategory = 30, foldChange = NULL)

## S4 method for signature 'gseaResult'
heatplot(x, showCategory = 30, foldChange = NULL)

heatplot.enrichResult(
  x,
  showCategory = 30,
  foldChange = NULL,
  label_format = 30
)

Arguments

x

enrichment result.

showCategory

number of enriched terms to display

foldChange

fold Change

label_format

a numeric value sets wrap length, alternatively a custom function to format axis labels. by default wraps names longer that 30 characters

Value

ggplot object

Author(s)

guangchuang yu

Guangchuang Yu

Examples

1
2
3
4
5
library(DOSE)
data(geneList)
de <- names(geneList)[1:100]
x <- enrichDO(de)
heatplot(x)

GuangchuangYu/enrichplot documentation built on Aug. 31, 2021, 7:48 p.m.