locus2GeneQuery {otargen}R 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)

[Package otargen version 2.0.0 Index]