| do_coloc | R Documentation | 
Runs colocalisation using any of the following methods:
Coloc.abf, see coloc::coloc.abf()
Coloc.susie, see coloc::coloc.susie()
PWCoCo, see PWCoCo
NB: PWCoCo is not available on Windows.
do_coloc( dat, cdat = NA, method = "coloc.abf", coloc_window = 5e+05, plot_region = F, bfile = NULL, plink = NULL, pwcoco = NULL, workdir = tempdir(), cores = 1, verbose = TRUE )
dat | 
 A data.frame of harmonised data  | 
cdat | 
 A named list of regional data but can be omitted (Optional)  | 
method | 
 Which method of colocalisation to use: coloc.abf, coloc.susie, pwcoco (Optional)  | 
coloc_window | 
 Size (+/-) of region to extract for colocalisation analyses (Optional)  | 
plot_region | 
 Whether to plot the regions or not  | 
bfile | 
 Path to Plink bed/bim/fam files (Optional)  | 
plink | 
 Path to Plink binary (Optional)  | 
pwcoco | 
 If PWCoCo is the selected coloc method, path to PWCoCo binary (Optional)  | 
workdir | 
 Path to save temporary files (Optional)  | 
cores | 
 Number of cores for multi-threaded tasks (Optional) NB: Unavailable on Windows machines  | 
verbose | 
 Display verbose information (Optional, boolean)  | 
A data.frame of colocalistion results
[coloc::coloc.abf()], [coloc::coloc.susie()]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.