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().

References

Buniello et al. (2025). Open Targets Platform: facilitating therapeutic hypotheses building in drug discovery. Nucleic Acids Research 53(D1), D1467-D1475. doi:10.1093/nar/gkae1128

Service documentation: https://platform.opentargets.org/

Examples

# \donttest{
biohttp::body_or_null(opentargets_disease_targets("MONDO_0018975"))
#> # A tibble: 1,000 × 4
#>    symbol ensembl_id      score source_url                                      
#>    <chr>  <chr>           <dbl> <chr>                                           
#>  1 NF1    ENSG00000196712 0.892 https://platform.opentargets.org/evidence/ENSG0…
#>  2 MAP2K1 ENSG00000169032 0.576 https://platform.opentargets.org/evidence/ENSG0…
#>  3 MAP2K2 ENSG00000126934 0.563 https://platform.opentargets.org/evidence/ENSG0…
#>  4 SPRED1 ENSG00000166068 0.480 https://platform.opentargets.org/evidence/ENSG0…
#>  5 EVI2B  ENSG00000185862 0.430 https://platform.opentargets.org/evidence/ENSG0…
#>  6 RNF135 ENSG00000181481 0.400 https://platform.opentargets.org/evidence/ENSG0…
#>  7 EXT1   ENSG00000182197 0.340 https://platform.opentargets.org/evidence/ENSG0…
#>  8 HNF1A  ENSG00000135100 0.340 https://platform.opentargets.org/evidence/ENSG0…
#>  9 OMG    ENSG00000126861 0.338 https://platform.opentargets.org/evidence/ENSG0…
#> 10 EVI2A  ENSG00000126860 0.336 https://platform.opentargets.org/evidence/ENSG0…
#> # ℹ 990 more rows
# }