geneOntologyQuery {otargen} | R Documentation |
Retrieve Gene Ontology data for a specified gene.
Description
This function queries the Open Targets GraphQL API to retrieve gene ontology data for a specified gene.
Usage
geneOntologyQuery(ensgId)
Arguments
ensgId |
Character: ENSEMBL ID of the target gene (e.g., ENSG00000141510). |
Value
Returns a tibble containing gene ontology data for the specified gene.
Examples
## Not run:
result <- geneOntologyQuery(ensgId = "ENSG00000141510")
## End(Not run)
[Package otargen version 2.0.0 Index]