Learn R Programming

otargen (version 2.0.0)

mechanismsOfActionQuery: Retrieve Mechanisms of Action data for a specified drug.

Description

This function queries the Open Targets GraphQL API to retrieve mechanisms of action data for a specified drug.

Usage

mechanismsOfActionQuery(chemblId)

Value

Returns a tibble containing mechanisms of action data for the specified drug.

Arguments

chemblId

Character: ChEMBL ID of the target drug (e.g., "CHEMBL1016").

Examples

Run this code
if (FALSE) {
result <- mechanismsOfActionQuery(chemblId = "CHEMBL1016")
}

Run the code above in your browser using DataLab