posterior_prob {cophescan}R Documentation

List of posterior probabilities: Hn, Ha and Hc over all iterations

Description

List of posterior probabilities: Hn, Ha and Hc over all iterations

Usage

posterior_prob(params, lbf_mat, nsnps, covar_vec, covar = FALSE)

Arguments

params

Vector of parameters: \alpha, \beta and \gamma

lbf_mat

matrix of log bayes factors: lBF.Ha and lBF.Hc

nsnps

number of snps

covar_vec

Vector of the covariate

covar

logical: was the covariate inflormation used? default: False

Value

List of posterior probabilties (len: iterations): Hn, Ha and Hc


[Package cophescan version 1.4.0 Index]