Updated version of Human Phenotype Ontology (HPO) from 2023-10-09. Created from the OBO files distributed by the HPO project's GitHub.

get_hpo(
  save_dir = tools::R_user_dir("HPOExplorer", which = "cache"),
  tag = "latest",
  overwrite = TRUE
)

Source

BioPortal hpo <- HPOExplorer:::make_hpo(upload_tag="latest")

Arguments

save_dir

Directory to save data to.

tag

tag for the GitHub release to which this data should be attached.

overwrite

Should any local files of the same name be overwritten? default TRUE.

Value

ontology_index object.

Details

By comparison, the hpo data from ontologyIndex is from 2016. Note that the maximum ontology level depth in the 2016 version was 14, whereas in the 2023 version the maximum ontology level depth is 16 (due to an expansion of the HPO).

Examples

hpo <- get_hpo()
#>  All local files already up-to-date!