Skip to contents

This function queries the Open Targets GraphQL API to retrieve safety liabilities data for a specified gene.

Usage

safetyQuery(ensgId)

Arguments

ensgId

Character: ENSEMBL ID of the target gene (e.g., ENSG00000141510).

Value

Returns a tibble containing safety liabilities data for the specified gene.

Examples

if (FALSE) { # \dontrun{
result <- safetyQuery(ensgId = "ENSG00000141510")
} # }