HPO's annotation for a gene
Arguments
- entrez
An NCBI Gene id, for example
7157. See the note on the lookup key in the file header: nothing else works here.- ...
Passed to
biohttp::get_json(), for examplethrottle.
Value
A biohttp envelope whose data is a list of two tibbles, diseases
and phenotypes, either of which may be NULL. Two tables rather than one,
because they are independent arrays in the response and joining them would
invent a disease-to-phenotype mapping the response does not carry. It also
carries source_url. See hpo_parse_diseases() and
hpo_parse_phenotypes().
Examples
if (FALSE) { # \dontrun{
biohttp::body_or_null(hpo_gene_annotation(7157))$diseases
} # }