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