safetyQuery | R Documentation |
This function queries the Open Targets GraphQL API to retrieve safety liabilities data for a specified gene.
safetyQuery(ensgId)
ensgId |
Character: ENSEMBL ID of the target gene (e.g., ENSG00000141510). |
Returns a tibble containing safety liabilities data for the specified gene.
## Not run:
result <- safetyQuery(ensgId = "ENSG00000141510")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.