pypath.inputs.kegg_api.drug_to_drug§

pypath.inputs.kegg_api.drug_to_drug(drugs: list | tuple | None = None, join: bool = True, asynchronous: bool = False) dict[str, tuple][source]§

Downloads drug-drug interaction data from KEGG database.

Args
drugs:

Drug IDs as a list or a tuple.

join:

If it’s True, returns individual interactions of queried list. Else, joins them together and returns mutual interactions.

asynchronous:

Yet to be implemented.

Returns

A dict with disease IDs as keys and drug-drug interactions as values.