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