Skip to contents

The discovery direction. disease_id is an Open Targets id in either separator form; MONDO:0018975 and MONDO_0018975 both work.

Usage

opentargets_disease_targets(disease_id, size = 1000, ...)

Arguments

disease_id

An EFO, MONDO, HP, or Orphanet id.

size

How many associations to ask for.

...

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

Value

A biohttp envelope whose data is the tibble described in opentargets_parse_targets().

Examples

if (FALSE) { # \dontrun{
biohttp::body_or_null(opentargets_disease_targets("MONDO_0018975"))
} # }