Arguments
- body
A parsed HPO network/annotation response.
Value
A tibble of id, name, mondo, and description, one row per
associated disease. NULL when there are none.
Details
Every row is grounded by an OMIM, ORPHA, or DECIPHER id in id, and by a
MONDO id in mondo where HPO has one.
Examples
body <- list(diseases = list(
list(
id = "OMIM:151623",
name = "Li-Fraumeni syndrome",
mondoId = "MONDO:0018875",
description = NULL
)
))
hpo_parse_diseases(body)
#> # A tibble: 1 × 4
#> id name mondo description
#> <chr> <chr> <chr> <chr>
#> 1 OMIM:151623 Li-Fraumeni syndrome MONDO:0018875 NA