Skip to contents

Pure.

Usage

gtex_parse_reference(body)

Arguments

body

A parsed GTEx reference/gene response.

Value

A tibble of symbol, gencode_id, entrez, chromosome, and gene_type. NULL when the gene is not in the reference.

Examples

body <- list(data = list(list(
  geneSymbol = "TP53", gencodeId = "ENSG00000141510.16", entrezGeneId = 7157
)))
gtex_parse_reference(body)
#> # A tibble: 1 × 5
#>   symbol gencode_id         entrez chromosome gene_type
#>   <chr>  <chr>              <chr>  <chr>      <chr>    
#> 1 TP53   ENSG00000141510.16 7157   NA         NA