Functions to map IDs.
Human Phenotype Ontology object, loaded from get_ontology.
HPO phenotype names to exclude.
Character vector of database(s) to map IDs to.
When not "mondo"
, can supply multiple alternative databases to map to
(e.g. c("OMIM","Orphanet","DECIPHER")
).
Include NA values for onset.
Print messages.
Mapped data.
Named list of HPO IDs.
Named list of HPO IDs.
list_deaths()
: map_
List age of death HPO terms
List age of death phenotypes in the HPO.
list_onsets()
: map_
List age of onset HPO terms
List age of onset phenotypes in the HPO.
deaths <- list_deaths()
#> Translating ontology terms to ids.
onsets <- list_onsets()
#> Translating ontology terms to ids.