Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/o/r/Orange-Bioinformatics-2.5.25/docs/rst/reference/code/go_enrichment.py   Orange-Bioinformatics(Download)
annotations = go.Annotations("sgd", ontology=ontology)
 
res = annotations.get_enriched_terms(["YGR270W", "YIL075C", "YDL007W"])
print "Enriched terms:"
for go_id, (genes, p_value, ref) in res.items():
ontology.set_slims_subset("goslim_yeast")
 
res = annotations.get_enriched_terms(["YGR270W", "YIL075C", "YDL007W"],
                                     slims_only=True)
print "Enriched slim terms:"

src/o/r/Orange-Bioinformatics-2.5.25/docs/rst/reference/code/go_gene_annotations.py   Orange-Bioinformatics(Download)
annotations = go.Annotations("sgd", ontology=ontology)
 
res = annotations.get_enriched_terms(["YGR270W", "YIL075C", "YDL007W"])
 
gene = annotations.alias_mapper["YIL075C"]