Learn R Programming

coloc (version 3.2-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

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.

Value

data.frame containing lABF and intermediate calculations

Details

Calculate approximate Bayes Factors using supplied variance of the regression coefficients