This service returns the list of annotations and allowed values by which a particular dataset can be subsetted. Results may be filtered by dataset.
Arguments
- 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). Set globally to maximum value 100000 with
options(list(gtexr.itemsPerPage = 100000))
.- .verbose
Logical. If
TRUE
(default), print paging information. Set toFALSE
globally withoptions(list(gtexr.verbose = FALSE))
.- .return_raw
Logical. If
TRUE
, return the raw API JSON response. Default =FALSE
See also
Other Datasets Endpoints:
get_collapsed_gene_model_exon()
,
get_downloads_page_data()
,
get_file_list()
,
get_full_get_collapsed_gene_model_exon()
,
get_functional_annotation()
,
get_linkage_disequilibrium_by_variant_data()
,
get_linkage_disequilibrium_data()
,
get_sample_datasets()
,
get_subject()
,
get_tissue_site_detail()
,
get_variant()
,
get_variant_by_location()
Examples
get_annotation()
#>
#> ── Paging info ─────────────────────────────────────────────────────────────────
#> • numberOfPages = 1
#> • page = 0
#> • maxItemsPerPage = 250
#> • totalNumberOfItems = 2
#> # A tibble: 2 × 5
#> entity values type annotation datasetId
#> <chr> <list> <chr> <chr> <chr>
#> 1 subject <chr [2]> enum sex gtex_v8
#> 2 subject <chr [6]> enum ageBracket gtex_v8