Skip to contents

This service returns the collapsed exons in the gene model of the given gene. Gene-level and exon-level expression quantification were based on the GENCODE annotation, collapsed to a single transcript model for each gene using an algorithm developed by the GTEx analysis team.

By default, this service queries the models used by the latest GTEx release.

GTEx Portal API documentation

Usage

get_collapsed_gene_model_exon(
  gencodeId,
  datasetId = "gtex_v8",
  page = 0,
  itemsPerPage = 250
)

Arguments

gencodeId

String. A Versioned GENCODE ID of a gene, e.g. "ENSG00000065613.9".

datasetId

String. Unique identifier of a dataset. Usually includes a data source and data release. Options: "gtex_v8", "gtex_snrnaseq_pilot".

page

Integer (default = 0).

itemsPerPage

Integer (default = 250).

Value

A tibble

Examples

# \dontrun{
 get_collapsed_gene_model_exon(gencodeId = "ENSG00000132693.12")
#> 
#> ── Paging info ─────────────────────────────────────────────────────────────────
#>  numberOfPages = 1
#>  page = 0
#>  maxItemsPerPage = 250
#>  totalNumberOfItems = 2
#> # A tibble: 2 × 14
#>   featureType       end genomeBuild chromosome exonNumber geneSymbolUpper exonId
#>   <chr>           <int> <chr>       <chr>      <chr>      <chr>           <chr> 
#> 1 exon        159714589 GRCh38/hg38 chr1       1          CRP             ENSG0…
#> 2 exon        159714138 GRCh38/hg38 chr1       2          CRP             ENSG0…
#> # ℹ 7 more variables: datasetId <chr>, start <int>, dataSource <chr>,
#> #   gencodeId <chr>, geneSymbol <chr>, gencodeVersion <chr>, strand <chr>
# }