pypath.inputs.hpo.hpo_ontology§

pypath.inputs.hpo.hpo_ontology() dict[str, dict[str, str | set[str]]][source]§

Ontology data from HPO.

Returns

Five dictionaries with term names, term definitions, parents in the ontology tree, term synonyms and cross references to other databases. The dicts “terms” and “defs” are one-to-one, while “parents”, “synonyms” and “xrefs” are one-to-many mappings, the keys are always HPO terms.