View source: R/gwasCredibleSetsQuery.R
gwasCredibleSetsQuery | R Documentation |
This function queries the Open Targets Platform GraphQL API to retrieve GWAS credible sets evidence data for a specified target gene and disease.
gwasCredibleSetsQuery(ensemblId, efoId, size = 500)
ensemblId |
Character. Ensembl gene ID, e.g., "ENSG00000169174". |
efoId |
Character. EFO disease ID, e.g., "EFO_0004911". |
size |
Integer. Number of rows to fetch. Default: 500. |
A tibble with credible set evidence or NULL if no data found.
## Not run:
result <- gwasCredibleSetsQuery(
ensemblId = "ENSG00000169174",
efoId = "EFO_0004911",
size = 5
)
print(result)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.