Resolve a gene to GTEx's versioned GENCODE id
Arguments
- gene
A gene symbol or an Ensembl gene id.
- ...
Passed to
biohttp::get_json(), for examplethrottle.
Value
A biohttp envelope whose data is the tibble described in
gtex_parse_reference().
Why this call exists
GTEx expression queries need a versioned GENCODE id such as
ENSG00000141510.16. MyGene and most other sources return the unversioned
ENSG00000141510, and GTEx returns nothing for it. There is no way to derive
the version, so it has to be looked up here first.
This is the reason a GTEx expression lookup costs two requests.
Examples
if (FALSE) { # \dontrun{
biohttp::body_or_null(gtex_gene_reference("TP53"))$gencode_id
} # }