Learn R Programming

coloc (version 2.3-1)

approx.bf.estimates: Internal function, approx.bf.estimates

Description

Internal function, approx.bf.estimates

Usage

approx.bf.estimates(z, V, type, suffix = NULL, sdY = 1)

Arguments

z
normal deviate associated with regression coefficient and its variance
V
its variance
sdY
standard deviation of the trait. If not supplied, will be estimated.
type
"quant" or "cc"
suffix
suffix to append to column names of returned data.frame

Value

data.frame containing lABF and intermediate calculations

Details

Calculate approximate Bayes Factors using supplied variance of the regression coefficients