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