COLOC_get_example_res: Example colocalization results

View source: R/COLOC_get_example_res.R

COLOC_get_example_resR Documentation

Example colocalization results

Description

Example colocalization results from running COLOC_run. on GWAS summary stats from all loci in Nalls23andMe_2019. These results were published in Schilder & Raj (Human Molecular Genetics, 2021)

Usage

COLOC_get_example_res(save_dir = tempdir(), full = FALSE)

Arguments

save_dir

Local directory to cache data in.

full

Download the non-filtered version of the colocalization results (Default: FALSE).

Source

##### Subset results #### # Pre-processing gwas.qtl_paths <- eQTLcatalogue_example_queries() coloc_QTLs <- COLOC_run(gwas.qtl_paths = gwas.qtl_paths, nThread = 4, top_snp_only = TRUE, save_path = "~/Desktop/coloc_results.tsv.gz") # Import pre-processed results URL <- file.path("https://github.com/RajLabMSSM/catalogueR/raw/master", "data/coloc_QTLs.rda") tmp <- file.path(tempdir(),basename(URL)) download.file(URL, tmp) piggyback::pb_upload(file = tmp, repo = "RajLabMSSM/catalogueR") ##### Full results #### URL <- file.path("https://github.com/RajLabMSSM/catalogueR/raw/master", "data/coloc_QTLs_full.rda") tmp <- file.path(tempdir(),basename(URL)) download.file(URL, tmp) piggyback::pb_upload(file = tmp, repo = "RajLabMSSM/catalogueR")

See Also

Other coloc: COLOC_corplot(), COLOC_get_res(), COLOC_heatmap(), COLOC_merge_res(), COLOC_report_summary(), COLOC_run()

Examples

coloc_QTLs <- catalogueR::COLOC_get_example_res()

RajLabMSSM/catalogueR documentation built on Jan. 1, 2023, 10:45 a.m.