combine.abf: combine.abf

Description Usage Arguments Value Author(s)

View source: R/claudia.R

Description

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

Usage

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

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

Value

named numeric vector of posterior probabilities

Author(s)

Claudia Giambartolomei, Chris Wallace


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