Skip to contents

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.

Usage

monarch_gene_phenotypes(hgnc, limit = 50, ...)

Arguments

hgnc

An HGNC id, bare or prefixed. See monarch_hgnc_id().

limit

Maximum associations to return.

...

Passed to biohttp::get_json(), for example throttle.

Value

A biohttp envelope whose data is a list of associations (the tibble) and total.

Examples

if (FALSE) { # \dontrun{
biohttp::body_or_null(monarch_gene_phenotypes("11998"))$associations
} # }