Joint Approximate Bayes' factors (ABFs) for two case-control studies with shared controls

bf.compare.fn(sim, msnps, mT1, mT2)

Arguments

sim

output from phen.gen.fn

msnps

vector of SNPs to consider in models

mT1

maximum number of causal variants for trait 1

mT2

maximum number of causal variants for trait 2

Value

data.frame of multinomial logABFs and logistic logABFs find marginal ABFs for each trait find joint ABFs for traits 1 and 2