Hello,
I am trying to use the function "simplify" from "clusterProfiler" to summarize the output of enrichment analysis, but apparently it only works with the output of "enrichGO" function. Would it be possible to use "simplify" with the output of "enricher"? I want to perform generic enrichment and it would be great if there is a way to take advantage of that.
When I call the function on a enricher output I get the following error:
Error in .local(x, ...) : simplify only applied to output from enrichGO...
So I don't get why it doesn't work since both "enricher" and "enrichGO" outputs are of the same class "enrichResult" and the dataframe looks the same.
Thanks