This is a test version of Biostars. For the public version, visit https://www.biostars.org.
clusterProfiler::enrichGO() is getting very slow

I am trying to run clusterProfiler::enrichGO() for 10 Human Ensemble IDs but its getting very slow. Sometimes it takes 15 minutes and other time more than half an hour. Also, its taking all the available RAM in a 8GB machine.

My R session dosn't have any other loaded package or objects.

I am using r=3.5 and clusterprofiler=3.10.1

Similar issue reported earlier: https://github.com/GuangchuangYu/clusterProfiler/issues/155

Even from what I remember it wasn't taking this long when I run few months back.

Any help or an alternatives which support as many organisms internally (with OrgDB) like this package does.

r clusterprofiler go

2 answers

Swap your identifiers to Entrez IDs. I don't know why, but clusterProfiler doesn't love other types of identifiers. I ran into the same issues trying to use both gene symbols and Ensemble IDs, but swapping them to Entrez IDs fixed it.

I faceted the same issue and I ran out of patience... maybe enrichR could helps you. Bests!

Log in to answer this question.