dot-coloc_sub: Sub-function for the colocalisation analyses

.coloc_subR Documentation

Sub-function for the colocalisation analyses

Description

Sub-function for the colocalisation analyses

Usage

.coloc_sub(
  dat1,
  dat2,
  min_snps = 100,
  p1 = 1e-04,
  p2 = 1e-04,
  p12 = 1e-05,
  susie = FALSE,
  bfile = NULL,
  plink = NULL,
  verbose = TRUE
)

Arguments

dat1

SNPs, etc. from first dataset

dat2

SNPs, etc. from second dataset

min_snps

Number of minimum SNPs to check for analysis to continue (Optional)

p1

p1 for coloc (Optional)

p2

p2 for coloc (Optional)

p12

p12 for coloc (Optional)

susie

Run SuSiE? (Optional, boolean)

bfile

Path to Plink bed/bim/fam files (Optional; required for SuSiE)

plink

Path to Plink binary (Optional; required for SuSiE)

verbose

Display verbose information (Optional, boolean)

Value

Results data.frame


jwr-git/mrpipeline documentation built on Oct. 2, 2022, 3:41 p.m.