powered by
This function queries the Open Targets Genetics GraphQL API to retrieve genetic constraint data for a specified gene.
geneticConstraintQuery(ensemblId)
Returns a data frame containing genetic constraint data for the specified gene.
Character: ENSEMBL ID of the target gene (e.g., ENSG00000169174).
if (FALSE) { result <- geneticConstraintQuery(ensemblId = "ENSG00000169174") }
Run the code above in your browser using DataLab