Skip to contents

Resolve one HP id to its term

Usage

hpo_term(id, ...)

Arguments

id

An HP id, for example "HP:0001250".

...

Passed to biohttp::get_json(), for example throttle.

Value

A biohttp envelope whose data is the one-row tibble described in hpo_parse_term().

References

Gargano et al. (2024). The Human Phenotype Ontology in 2024: phenotypes around the world. Nucleic Acids Research 52(D1), D1333-D1346. doi:10.1093/nar/gkad1005

Service documentation: https://hpo.jax.org/

Examples

# \donttest{
biohttp::body_or_null(hpo_term("HP:0001250"))
#> # A tibble: 1 × 8
#>   id         name  definition comment descendant_count synonyms xrefs source_url
#>   <chr>      <chr> <chr>      <chr>              <dbl> <list>   <lis> <chr>     
#> 1 HP:0001250 Seiz… A seizure… A type…              346 <chr>    <chr> https://h…
# }