Calculate approximate Bayes' factor (ABF)
calcABF(mod, mbeta, SSy, Sxy, Vy, N)
mod | joint SNP model with snps separated by |
---|---|
mbeta | joint effect estimates for SNPs in model given by mod; output from multibeta |
SSy | sum(y.squared) for trait y |
Sxy | vector of sum(xy) for snp x, trait y |
Vy | trait variance |
N | sample size |
ABF for model mod