pypath.inputs.ctdbase.ctdbase_relations§

pypath.inputs.ctdbase.ctdbase_relations(relation_type: str) list[tuple][source]§

Retrieves a CTDbase relation file. For “gene-disease” relation type only curated relations are returned (i.e. those with a “DirectEvidence” field) as the number of non-curated relations is too large.

Parameters:

relation_type – One of the following: ‘chemical_gene’, ‘chemical_disease’, ‘disease_pathway’, ‘chemical_phenotype’, ‘gene_disease’,

Returns:

Relations as a list of tuples.