pypath.inputs.compath.compath_mappings§

pypath.inputs.compath.compath_mappings(source_db: Literal['kegg', 'wikipathways', 'reactome'] | None = None, target_db: Literal['kegg', 'wikipathways', 'reactome'] | None = None) Generator[tuple] | pd.DataFrame[source]§

Cross-database pathway to pathway mappings from Compath.

Compath contains proposed and accepted mappings by the users/curators between pairs of pathways across databases. The source and target databases specify the direction of the mapping.

Parameters:
  • source_db – Name of the source database.

  • target_db – Name of the target database.

  • return_df – Return a pandas data frame.

Returns:

Tuples of pathway-to-pathway mappings.