Query Open targets for all credible sets containing the variant
get_open_targets_cs.RdQuery Open targets for all credible sets containing the variant
Usage
get_open_targets_cs(
variant_id,
page_size = 500,
api_url = "https://api.platform.opentargets.org/api/v4/graphql"
)Value
a dplyr::tibble with the following columns:
CHR: chromosomePOS: positionP: p-valueREF: reference alleleALT: alternate alleledescription: trait descriptionstudy_id: study ID