R/bf-compare-sim.R
bf.compare.fn.RdJoint Approximate Bayes' factors (ABFs) for two case-control studies with shared controls
bf.compare.fn(sim, msnps, mT1, mT2)
| 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 |
data.frame of multinomial logABFs and logistic logABFs find marginal ABFs for each trait find joint ABFs for traits 1 and 2