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)

Example output

DOSE v3.16.0  For help: https://guangchuangyu.github.io/software/DOSE

If you use DOSE in published research, please cite:
Guangchuang Yu, Li-Gen Wang, Guang-Rong Yan, Qing-Yu He. DOSE: an R/Bioconductor package for Disease Ontology Semantic and Enrichment analysis. Bioinformatics 2015, 31(4):608-609

enrichplot documentation built on Jan. 30, 2021, 2:01 a.m.