Skip to contents

Pure.

Usage

hpo_parse_phenotypes(body)

Arguments

body

A parsed HPO network/annotation response.

Value

A tibble of id and name, one row per phenotype term. NULL when there are none.

Details

These are the HPO terms observed in the diseases the gene is associated with, not a separate assertion about the gene.

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

body <- list(phenotypes = list(list(id = "HP:0003002", name = "Breast carcinoma")))
hpo_parse_phenotypes(body)
#> # A tibble: 1 × 2
#>   id         name            
#>   <chr>      <chr>           
#> 1 HP:0003002 Breast carcinoma