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.
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