powered by
This function queries the Open Targets GraphQL API to retrieve pharmacogenomics data for a specified gene.
pharmacogenomicsGeneQuery(ensgId)
Returns a tibble containing pharmacogenomics data for the specified gene.
Character: ENSEMBL ID of the target gene (e.g., ENSG00000141510).
if (FALSE) { result <- pharmacogenomicsGeneQuery(ensgId = "ENSG00000141510") }
Run the code above in your browser using DataLab