Skip to contents

Pure.

Usage

hpo_parse_search(body)

Arguments

body

A parsed HPO hp/search response.

Value

A tibble of id, name, definition, and descendant_count, best match first, which is the order JAX returns. NULL when nothing matched.

Examples

body <- list(terms = list(list(id = "HP:0001250", name = "Seizure")))
hpo_parse_search(body)
#> # A tibble: 1 × 4
#>   id         name    definition descendant_count
#>   <chr>      <chr>   <chr>                 <dbl>
#> 1 HP:0001250 Seizure NA                       NA