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!
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