View source: R/compGenomicsQuery.R
compGenomicsQuery | R Documentation |
This function queries the Open Targets Genetics GraphQL API to retrieve comparative genomics data for a specified gene.
compGenomicsQuery(ensemblId)
ensemblId |
Character: ENSEMBL ID of the target gene (e.g., ENSG00000169174). |
Returns a data frame containing comparative genomics data for the specified gene.
## Not run:
result <- compGenomicsQuery(ensemblId = "ENSG00000169174")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.