Learn R Programming

otargen (version 2.0.0)

pharmacogenomicsGeneQuery: Retrieve Pharmacogenomics data for a specified gene.

Description

This function queries the Open Targets GraphQL API to retrieve pharmacogenomics data for a specified gene.

Usage

pharmacogenomicsGeneQuery(ensgId)

Value

Returns a tibble containing pharmacogenomics data for the specified gene.

Arguments

ensgId

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

Examples

Run this code
if (FALSE) {
result <- pharmacogenomicsGeneQuery(ensgId = "ENSG00000141510")
}

Run the code above in your browser using DataLab