hallmarksQuery: Retrieve Cancer Hallmarks data for a specified gene.

View source: R/hallmarksQuery.R

hallmarksQueryR Documentation

Retrieve Cancer Hallmarks data for a specified gene.

Description

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

Usage

hallmarksQuery(ensgId)

Arguments

ensgId

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

Value

Returns a tibble containing cancer hallmarks data for the specified gene.

Examples

## Not run: 
result <- hallmarksQuery(ensgId = "ENSG00000141510")

## End(Not run)

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