Keyed on the HGNC id, which mygene_gene() returns as hgnc. The rows come
back in the shape monarch_parse_associations() describes, so the phenotype
term is object and its label is object_label.
Arguments
- hgnc
An HGNC id, bare or prefixed. See
monarch_hgnc_id().- limit
Maximum associations to return.
- ...
Passed to
biohttp::get_json(), for examplethrottle.
Examples
if (FALSE) { # \dontrun{
biohttp::body_or_null(monarch_gene_phenotypes("11998"))$associations
} # }