Learn R Programming

otargen (version 2.0.0)

pathwaysQuery: 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)

Value

Returns a tibble containing pathways data for the specified gene.

Arguments

ensgId

Character: ENSEMBL ID of the target gene (e.g., ENSG00000105397).

Examples

Run this code
if (FALSE) {
result <- pathwaysQuery(ensgId = "ENSG00000105397")
}

Run the code above in your browser using DataLab