calcL10ApproximateBayesFactorWen | R Documentation |
Calculate the log10(ABF) under the SSMR model (equation 11 with s=1) of Wen (Biometrics, 2013).
calcL10ApproximateBayesFactorWen(
Y,
Xg,
Xc,
Wg = NULL,
phi = NULL,
oma = NULL,
alpha = 0,
H = 0,
nu = 0,
ES = TRUE
)
Y |
n x r phenotype matrix |
Xg |
n x p genotype matrix |
Xc |
n x q design matrix of covariates |
Wg |
r x r prior var-covar matrix on beta_g (if NULL, requires phi and oma) |
phi |
used to make Wg |
oma |
used to make Wg |
alpha |
mixing proportion |
H |
r x r matrix parameter of Wishart prior |
nu |
positive scalar parameter of Wishart prior |
ES |
if TRUE, use the scale-invariant prior formulation |
numeric
Xiaoquan Wen [aut], Timothee Flutre [ctb,cre]
calcL10ApproximateBayesFactorWenStephens
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.