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