Changeset 1941:42a5e7765fd4 in orange-bioinformatics


Ignore:
Timestamp:
12/13/13 16:11:22 (4 months ago)
Author:
markotoplak
Branch:
default
Message:

Convert obiOMIM documentation to rst.

Files:
2 added
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • docs/rst/index.rst

    r1936 r1941  
    3131   reference/prob.rst 
    3232   reference/geo.rst 
     33   reference/omim.rst 
    3334 
    3435Installation 
  • orangecontrib/bio/obiOMIM.py

    r1873 r1941  
    7373 
    7474def diseases(): 
    75     """ Return all disease objects 
     75    """ Return all disease descriptors. 
    7676    """ 
    7777    return OMIM.get_instance().diseases() 
    7878 
    7979def genes(): 
    80     """ Return a set of all genes referenced in OMIM  
     80    """ Return a set of all genes referenced in OMIM. 
    8181    """ 
    8282    return OMIM.get_instance().genes() 
    8383 
    8484def disease_genes(disease): 
    85     """ Return a set of all genes referenced by disease in OMIM  
     85    """ Return a set of all genes referenced by disease in OMIM. 
    8686    """ 
    8787    return OMIM.get_instance().disease_genes(disease) 
    8888 
    8989def gene_diseases(): 
    90     """ Return a dictionary {gene: set(disease_objects for gene), ...} 
     90    """ Return a dictionary {gene: set(disease_objects for gene), ...}. 
    9191    """ 
    9292    return OMIM.get_instance().gene_diseases() 
Note: See TracChangeset for help on using the changeset viewer.