Question: simplify function on enricher output of ClusterProfiler
gravatar for gusf
23 months ago by
gusf0 wrote:


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.


clusterprofiler • 1.4k views
ADD COMMENTlink modified 23 months ago • written 23 months ago by gusf0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2227 users visited in the last hour