Skip to contents

Open Targets takes an exact id for a direct lookup and free text for a search, and the two are different queries. This is what tells them apart.

Usage

opentargets_is_id(term)

Arguments

term

A disease term.

Value

A single logical.

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

opentargets_is_id("MONDO:0018975")
#> [1] TRUE
opentargets_is_id("neurofibromatosis type 1")
#> [1] FALSE