pypath.inputs.ramp.ramp_mapping§

pypath.inputs.ramp.ramp_mapping(id_type_a: str, id_type_b: str, return_df: bool = False, curies: bool = False) dict[str, set[str]] | DataFrame[source]§

Retrieve the mapping between two identifiers.

Parameters:
  • id_type_a – The identifier type of the first identifier.

  • id_type_b – The identifier type of the second identifier.

  • return_df – Return a pandas DataFrame instead of a dictionary.

  • curies – Do not remove CURIEs from the identifiers.

Returns:

A dictionary with the mapping between the two identifiers.