fortify.compareClusterResult | R Documentation |
convert compareClusterResult to a data.frame that ready for plot
convert enrichResult object for ggplot2
## S3 method for class 'compareClusterResult'
fortify(
model,
data,
showCategory = 5,
by = "geneRatio",
split = NULL,
includeAll = TRUE,
...
)
## S3 method for class 'enrichResult'
fortify(
model,
data,
showCategory = 5,
by = "Count",
order = FALSE,
drop = FALSE,
split = NULL,
...
)
model |
'enrichResult' or 'compareClusterResult' object |
data |
not use here |
showCategory |
Category numbers to show |
by |
one of Count and GeneRatio |
split |
separate result by 'split' variable |
includeAll |
logical |
... |
additional parameter |
order |
logical |
drop |
logical |
data.frame
data.frame
Guangchuang Yu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.