heatplot: heatplot

heatplotR Documentation

heatplot

Description

heatmap like plot for functional classification

Usage

heatplot(x, showCategory = 30, ...)

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

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

heatplot.enrichResult(
  x,
  showCategory = 30,
  symbol = "rect",
  foldChange = NULL,
  pvalue = NULL,
  label_format = 30
)

Arguments

x

enrichment result.

showCategory

number of enriched terms to display

...

Additional parameters

symbol

symbol of the nodes, one of "rect"(the default) and "dot" by default wraps names longer that 30 characters

foldChange

fold Change.

pvalue

pvalue of genes

label_format

a numeric value sets wrap length, alternatively a custom function to format axis labels.

Value

ggplot object

Author(s)

Guangchuang Yu

Examples

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

GuangchuangYu/enrichplot documentation built on Nov. 8, 2024, 11:24 a.m.