powered by
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)
A tibble with credible set evidence or NULL if no data found.
Character. Ensembl gene ID, e.g., "ENSG00000169174".
Character. EFO disease ID, e.g., "EFO_0004911".
Integer. Number of rows to fetch. Default: 500.
if (FALSE) { result <- gwasCredibleSetsQuery( ensemblId = "ENSG00000169174", efoId = "EFO_0004911", size = 5 ) print(result) }
Run the code above in your browser using DataLab