Skip to content
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

AttributeError: 'GOEnrichmentStudy' object has no attribute 'print_results' #248

Open
Liyong-Zhang opened this issue Aug 3, 2022 · 0 comments

Comments

@Liyong-Zhang
Copy link

Hello,

I am trying to do GOEnrichment analysis through goatools' GOEnrichmentStudy function. Everything works fine till I try to print out the enrichment results.

Part of the code are as following:
g = GOEnrichmentStudy(pop, assoc, go, propagate_counts=True, alpha=0.05, methods=methods)
g_res = g.run_study(uniprot_in_list)
g.print_results(g_res, min_ratio=None, pval=0.01)
AttributeError: 'GOEnrichmentStudy' object has no attribute 'print_results'

Please help me take a look when you get a chance, thank you!

Liyong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant