Learn R Programming

coloc (version 5.2.3)

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, quiet = FALSE)

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

quiet

don't print posterior summary if TRUE. default=FALSE

Author

Claudia Giambartolomei, Chris Wallace