Retrieve sGenes (sQTL Genes).
This service returns sGenes (sQTL Genes) from the specified dataset.
Results may be filtered by tissue.
By default, the service queries the latest GTEx release.
The retrieved data is split into pages with items_per_page entries per page
get_sqtl_genes(
tissueSiteDetailIds = NULL,
datasetId = "gtex_v8",
page = 0,
itemsPerPage = getOption("gtexr.itemsPerPage"),
.verbose = getOption("gtexr.verbose"),
.return_raw = FALSE
)A tibble. Or a list if .return_raw = TRUE.
Character vector of IDs for tissues of interest.
Can be GTEx specific IDs (e.g. "Whole_Blood"; use
get_tissue_site_detail() to see valid values) or Ontology IDs.
String. Unique identifier of a dataset. Usually includes a data source and data release. Options: "gtex_v8", "gtex_snrnaseq_pilot".
Integer (default = 0).
Integer (default = 250). Set globally to maximum value
100000 with options(list(gtexr.itemsPerPage = 100000)).
Logical. If TRUE (default), print paging information. Set
to FALSE globally with options(list(gtexr.verbose = FALSE)).
Logical. If TRUE, return the raw API JSON response.
Default = FALSE
Other Static Association Endpoints:
get_eqtl_genes(),
get_fine_mapping(),
get_independent_eqtl(),
get_multi_tissue_eqtls(),
get_significant_single_tissue_eqtls(),
get_significant_single_tissue_eqtls_by_location(),
get_significant_single_tissue_ieqtls(),
get_significant_single_tissue_isqtls(),
get_significant_single_tissue_sqtls()
if (FALSE) { # identical(Sys.getenv("IN_PKGDOWN"), "true")
get_sqtl_genes("Whole_Blood")
}
Run the code above in your browser using DataLab