New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maxGSSize in enrichGO? #46
Comments
In devel branch, I had added For GO, you can use simplify to remove redundant terms and You are not the only one that want to restrict enriched result by gene set size. Although we can restrict the size by I have implemented a function
Before filter:
After filter:
|
That's great; exactly what I was looking for. Thanks again for the fast help. Maurits |
Dear Guangchuang.
I've got another question/request, this time concerning the return output of
enrichGO
. Is there a simple way to filter entries based on an upper (max) bound on the number of genes associated with a particular term? Something like an upper bound equivalent tominGSSize
?The reason being that I always end up with e.g. a (trivial) 100% overlap with genes from term "biological process" if I run a BP GO enrichment analysis. I can filter out these events if I do a
summary(...)
, but it would be nice to do this directly using theenrichResult
return object, so I can use the filtered results for visualisation.Thanks,
Maurits
The text was updated successfully, but these errors were encountered: