heatplot | R Documentation |
heatmap like plot for functional classification
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
)
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. |
ggplot object
Guangchuang Yu
library(DOSE)
data(geneList)
de <- names(geneList)[1:100]
x <- enrichDO(de)
heatplot(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.