get_linkage_disequilibrium_data {gtexr} | R Documentation |
Get Linkage Disequilibrium Data
Description
Find linkage disequilibrium (LD) data for a given gene.
This endpoint returns linkage disequilibrium data for the cis-eQTLs found associated with the provided gene in a specified dataset. Results are queried by gencode ID. By default, the service queries the latest GTEx release. Specify a dataset ID to fetch results from a different dataset.
Usage
get_linkage_disequilibrium_data(
gencodeId,
datasetId = "gtex_v8",
page = 0,
itemsPerPage = getOption("gtexr.itemsPerPage"),
.verbose = getOption("gtexr.verbose"),
.return_raw = FALSE
)
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). Set globally to maximum value
100000 with |
.verbose |
Logical. If |
.return_raw |
Logical. If |
Value
A tibble. Or a list if .return_raw = TRUE
.
See Also
Other Datasets Endpoints:
get_annotation()
,
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_sample_datasets()
,
get_subject()
,
get_tissue_site_detail()
,
get_variant()
,
get_variant_by_location()
Examples
get_linkage_disequilibrium_data(gencodeId = "ENSG00000132693.12")