View source: R/COLOC_get_example_res.R
COLOC_get_example_res | R Documentation |
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)
COLOC_get_example_res(save_dir = tempdir(), full = FALSE)
save_dir |
Local directory to cache data in. |
full |
Download the non-filtered version of the colocalization results
(Default: |
##### 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")
Other coloc:
COLOC_corplot()
,
COLOC_get_res()
,
COLOC_heatmap()
,
COLOC_merge_res()
,
COLOC_report_summary()
,
COLOC_run()
coloc_QTLs <- catalogueR::COLOC_get_example_res()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.