Run the hierarchical mcmc model to infer priors
metrop_run(
lbf_mat,
nsnps,
covar_vec,
covar = FALSE,
nits = 10000L,
thin = 1L,
alpha_mean = -10,
alpha_sd = 0.5,
beta_shape = 2,
beta_scale = 2,
gamma_shape = 2,
gamma_scale = 2
)
matrix of log bayes factors: lBF.Ha and lBF.Hc
number of snps
Vector of the covariate
logical: Should the covariate inflormation be used? default: False
Number of iterations run in mcmc
thinning
prior for the mean of alpha
prior for the standard deviation of alpha
prior for the shape (gamma distibution) of beta
prior for the scale of beta
prior for the shape (gamma distibution) of gamma
prior for the scale of gamma
named list of log likelihood (ll) and parameters: alpha, beta and gamma