chemblQuery | R Documentation |
This function queries the Open Targets Genetics GraphQL API to retrieve ChEMBL data for a specified gene and disease, including evidence from the ChEMBL datasource.
chemblQuery(ensemblId, efoId, size = 10, cursor = NULL)
ensemblId |
Character: ENSEMBL ID of the target gene (e.g., ENSG00000169174). |
efoId |
Character: EFO ID of the disease (e.g., EFO_0004911). |
size |
Integer: Number of records to retrieve (default: 10). |
cursor |
Character: Cursor for pagination (default: NULL). |
Returns a data frame containing ChEMBL data for the specified gene and disease.
## Not run:
result <- chemblQuery(ensemblId = "ENSG00000169174",
efoId = "EFO_0004911", size = 10)
result <- chemblQuery(ensemblId = "ENSG00000169174",
efoId = "EFO_0004911", size = 10, cursor = NULL)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.