Learn R Programming

coloc (version 5.1.0.1)

combine.abf: combine.abf

Description

Internal function, calculate posterior probabilities for configurations, given logABFs for each SNP and prior probs

Usage

combine.abf(l1, l2, p1, p2, p12)

Value

named numeric vector of posterior probabilities

Arguments

l1

merged.df$lABF.df1

l2

merged.df$lABF.df2

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

Author

Claudia Giambartolomei, Chris Wallace