Did I find the right examples for you? yes no

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

src/o/r/Orange-Bioinformatics-2.5.25/docs/rst/reference/code/go_gene_annotations.py   Orange-Bioinformatics(Download)
ids = set([a.GO_ID for a in annotations.gene_annotations[gene]])
for termid in ids:
    ants = annotations.get_all_annotations(termid)
    genes = set([a.DB_Object_Symbol for a in ants])
    print ", ".join(genes), "annotated to", termid, ontology[termid].name