Learn R Programming

enrichplot (version 1.13.1.994)

heatplot: heatplot

Description

heatmap like plot for functional classification

Usage

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

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

# S4 method for 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

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

Examples

Run this code
# NOT RUN {
library(DOSE)
data(geneList)
de <- names(geneList)[1:100]
x <- enrichDO(de)
heatplot(x)
# }

Run the code above in your browser using DataLab