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.

Examples

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