Learn R Programming

coloc (version 5.1.0.1)

alpha_to_logbf: alpha_to_logbf

Description

convert alpha matrix to log BF matrix

Usage

alpha_to_logbf(alpha, pi)

Value

L by p+1 matrix of log BF

Arguments

alpha

an L by p+1 matrix of posterior inclusion probabilites

pi

per snp prior probability of causality

Author

Chris Wallace