source: orange-bioinformatics/docs/reference-html/obiHomoloGene-yeast-to-human.py @ 1662:427f1876f3e6

Revision 1662:427f1876f3e6, 335 bytes checked in by mitar, 2 years ago (diff)

Revamped documentation.

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.