Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

heatplot

heatplot


Description

heatmap like plot for functional classification

Usage

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

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

enrichplot

Visualization of Functional Enrichment Result

v1.10.2
Artistic-2.0
Authors
Guangchuang Yu [aut, cre] (<https://orcid.org/0000-0002-6485-8781>), Erqiang Hu [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.