convert compareClusterResult to a data.frame that ready for plot
convert enrichResult object for ggplot2
# S3 method for compareClusterResult
fortify(
model,
data,
showCategory = 5,
by = "geneRatio",
split = NULL,
includeAll = TRUE
)# S3 method for enrichResult
fortify(
model,
data,
showCategory = 5,
by = "Count",
order = FALSE,
drop = FALSE,
split = NULL,
...
)
'enrichResult' or 'compareClusterResult' object
not use here
Category numbers to show
one of Count and GeneRatio
separate result by 'split' variable
logical
logical
logical
additional parameter
data.frame
data.frame