Retrieves all the files belonging to the given project_id
for
display on the Downloads Page
Details
Note: The GTEx Portal API documentation states "GTEx currently has
one project available: gtex". However, project_id
values "adult-gtex" and
"egtex" both return results, whereas "gtex" does not (see examples).
See also
Other Datasets Endpoints:
get_annotation()
,
get_collapsed_gene_model_exon()
,
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_endpoints()
,
get_subject()
,
get_tissue_site_detail()
,
get_variant()
,
get_variant_by_location()
Examples
if (FALSE) { # \dontrun{
# "adult-gtex" (default `project_id` value) and "egtex" both return results
get_downloads_page_data()
egtex <- get_downloads_page_data("egtex")
egtex
# ..."gtex" does not
get_downloads_page_data("gtex")
# get details for whole blood methylation data, including download URL
purrr::pluck(
egtex$children,
1,
"folders",
"Methylation - EPIC Array",
"children",
"folders",
"mQTLs",
"children",
"files",
"WholeBlood.mQTLs.regular.txt.gz"
)
} # }