Learn R Programming

otargen (version 1.1.5)

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

Value

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

Arguments

ensemblId

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

Examples

Run this code
if (FALSE) {
result <- compGenomicsQuery(ensemblId = "ENSG00000169174")
}

Run the code above in your browser using DataLab