locus2GeneQuery: Retrieve Locus-to-Gene Predictions data for a specified study...

View source: R/locus2GeneQuery.R

locus2GeneQueryR Documentation

Retrieve Locus-to-Gene Predictions data for a specified study locus.

Description

This function queries the Open Targets GraphQL API to retrieve locus-to-gene prediction data for a specified study locus.

Usage

locus2GeneQuery(studyLocusId)

Arguments

studyLocusId

Character: ID of the target study locus (e.g., "fa375739ca2a6b825ce5cc69d117e84b").

Value

Returns a tibble containing locus-to-gene prediction data for the specified study locus.

Examples

## Not run: 
result <- locus2GeneQuery(studyLocusId = "fa375739ca2a6b825ce5cc69d117e84b")

## End(Not run)

otargen documentation built on Aug. 9, 2025, 1:08 a.m.