geneticConstraintQuery {otargen}R Documentation

Retrieve Genetic Constraint data for a specified gene.

Description

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

Usage

geneticConstraintQuery(ensemblId)

Arguments

ensemblId

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

Value

Returns a data frame containing genetic constraint data for the specified gene.

Examples

## Not run: 
result <- geneticConstraintQuery(ensemblId = "ENSG00000169174")

## End(Not run)

[Package otargen version 1.1.5 Index]