View source: R/geneticConstraintQuery.R
geneticConstraintQuery | R Documentation |
This function queries the Open Targets Platform GraphQL API to retrieve genetic constraint data for a specified gene, such as pLI or LOEUF scores.
geneticConstraintQuery(ensgId)
ensgId |
Character: ENSEMBL ID of the target gene (e.g., "ENSG00000141510"). |
Returns a tibble containing genetic constraint data for the specified gene.
## Not run:
result <- geneticConstraintQuery(ensgId = "ENSG00000141510")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.