calcABF: Calculate approximate Bayes' factor (ABF)

Description Usage Arguments Value Author(s)

View source: R/prep.R

Description

Calculate approximate Bayes' factor (ABF)

Usage

1
calcABF(mod, mbeta, SSy, Sxy, Vy, N)

Arguments

mod

joint SNP model with snps separated by "%" e.g. "snp1%snp2"

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

Value

ABF for model mod

Author(s)

Jenn Asimit


jennasimit/flashfm documentation built on Aug. 9, 2021, 7:36 a.m.