pathwaysQuery: Retrieve Pathways data for a specified gene.

View source: R/pathwaysQuery.R

pathwaysQueryR 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)

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