dipper.models.assoc.Chem2DiseaseAssoc module¶
-
class
dipper.models.assoc.Chem2DiseaseAssoc.
Chem2DiseaseAssoc
(graph, definedby, chem_id, phenotype_id, rel_id=None)¶ Bases:
dipper.models.assoc.Association.Assoc
Attributes: assoc_id (str): Association Curie (Prefix:ID) chem_id (str): Chemical Curie phenotype_id (str): Phenotype Curie pub_list (str,list): One or more publication curies rel (str): Property relating assoc_id and chem_id evidence (str): Evidence curie
-
make_c2p_assoc_id
()¶
-
set_association_id
(assoc_id=None)¶ This will set the association ID based on the internal parts of the association. To be used in cases where an external association identifier should be used.
Parameters: assoc_id – Returns:
-