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