Average of posterior probabilities: Hn, Ha and Hc
average_posterior_prob(
params,
lbf_mat,
nsnps,
covar_vec,
nits,
thin,
covar = FALSE
)
Vector of parameters: \(\alpha\), \(\beta\) and \(\gamma\)
matrix of log bayes factors: lBF.Ha and lBF.Hc
number of snps
Vector of the covariate
Number of iterations run in mcmc
thinning
logical: was the covariate inflormation used? default: False
matrix with average of all the posterior probabilities: Hn, Ha and Hc