source: orange-bioinformatics/doc/modules/obiHomoloGene-yeast-to-human.py @ 961:5d8c8b434d91

Revision 961:5d8c8b434d91, 335 bytes checked in by ales_erjavec <ales.erjavec@…>, 5 years ago (diff)
  • added documentation for obiHomoloGene
Line 
1import orange
2import obiHomoloGene, obiTaxonomy, obiGene
3
4data = orange.ExampleTable("../../../../doc/datasets/brown-selected")
5
6geneinfo = obiGene.NCBIGeneInfo('4932')
7
8genes = [str(ex["gene"]) for ex in data]
9
10for gene in genes:
11    mappedgene = obiHomoloGene.homolog(geneinfo(gene).symbol, '4932', '9606')
12    print gene, mappedgene
Note: See TracBrowser for help on using the repository browser.