Learn R Programming

coloc (version 5.2.3)

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)

Value

data.frame containing lABF and intermediate calculations

Arguments

z

normal deviate associated with regression coefficient and its variance

V

its variance

type

"quant" or "cc"

suffix

suffix to append to column names of returned data.frame

sdY

standard deviation of the trait. If not supplied, will be estimated.

Author

Vincent Plagnol, Chris Wallace

Details

Calculate approximate Bayes Factors using supplied variance of the regression coefficients