compGenomicsQuery: Retrieve Comparative Genomics data for a specified gene.

View source: R/compGenomicsQuery.R

compGenomicsQueryR Documentation

Retrieve Comparative Genomics data for a specified gene.

Description

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

Usage

compGenomicsQuery(ensemblId)

Arguments

ensemblId

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

Value

Returns a data frame containing comparative genomics data for the specified gene.

Examples

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

## End(Not run)

otargen documentation built on Sept. 30, 2024, 9:43 a.m.