View source: R/knownDrugsChemblQuery.R
knownDrugsChemblQuery | R Documentation |
This function queries the Open Targets GraphQL API to retrieve known drugs data for a specified drug.
knownDrugsChemblQuery(chemblId, cursor = NULL, freeTextQuery = NULL, size = 10)
chemblId |
Character: ChEMBL ID of the target drug (e.g., "CHEMBL1016"). |
cursor |
Character: Cursor for pagination (default: NULL). |
freeTextQuery |
Character: Free text query to filter results (default: NULL). |
size |
Integer: Number of records to retrieve (default: 10). |
Returns a tibble containing known drugs data for the specified drug.
## Not run:
result <- knownDrugsChemblQuery(chemblId = "CHEMBL1016", size = 10)
result <- knownDrugsChemblQuery(chemblId = "CHEMBL1016", cursor = NULL,
freeTextQuery = NULL, size = 10)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.