View source: R/mechanismsOfActionQuery.R
mechanismsOfActionQuery | R Documentation |
This function queries the Open Targets GraphQL API to retrieve mechanisms of action data for a specified drug.
mechanismsOfActionQuery(chemblId)
chemblId |
Character: ChEMBL ID of the target drug (e.g., "CHEMBL1016"). |
Returns a tibble containing mechanisms of action data for the specified drug.
## Not run:
result <- mechanismsOfActionQuery(chemblId = "CHEMBL1016")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.