pypath.utils.mapping.map_name0§

pypath.utils.mapping.map_name0(name, id_type, target_id_type, ncbi_tax_id=None, strict=False, expand_complexes=True, uniprot_cleanup=True)[source]§

Translates the name and returns only one of the resulted IDs. It means in case of ambiguous ID translation, a random one of them will be picked and returned. Recommended to use only if the translation between the given ID types is mostly unambigous and the loss of information can be ignored. See more details at map_name.