coloc.detail: Bayesian colocalisation analysis with detailed output

Description Usage Arguments Details Value Author(s) See Also

View source: R/split.R

Description

Bayesian colocalisation analysis, detailed output

Usage

1
2
3
4
5
6
7
8
coloc.detail(
  dataset1,
  dataset2,
  MAF = NULL,
  p1 = 1e-04,
  p2 = 1e-04,
  p12 = 1e-05
)

Arguments

dataset1

a list with specifically named elements defining the dataset to be analysed. See check_dataset for details.

dataset2

as above, for dataset 2

MAF

Common minor allele frequency vector to be used for both dataset1 and dataset2, a shorthand for supplying the same vector as parts of both datasets

p1

prior probability a SNP is associated with trait 1, default 1e-4

p2

prior probability a SNP is associated with trait 2, default 1e-4

p12

prior probability a SNP is associated with both traits, default 1e-5

Details

This function replicates coloc.abf, but outputs more detail for further processing using coloc.process

Intended to be called internally by coloc.signals

Value

a list of three data.tabless:

Author(s)

Chris Wallace

See Also

coloc.process, coloc.abf


chr1swallace/coloc documentation built on June 10, 2021, 8:38 p.m.