Takes an Ensembl gene id, the same as opentargets_gene_diseases().
Arguments
- ensembl_id
An Ensembl gene id, for example
"ENSG00000141510".- ...
Passed to
biohttp::post_json(), for examplethrottle.
Value
A biohttp envelope whose data is the tibble described in
opentargets_parse_pgx().
Details
Most genes have none, so no_data here is the ordinary answer rather than a
sign anything went wrong.
Examples
if (FALSE) { # \dontrun{
biohttp::body_or_null(opentargets_pgx("ENSG00000165841"))
} # }