get_posterior_prob: Calculation of the posterior prob of Hn, Ha and Hc

View source: R/RcppExports.R

get_posterior_probR Documentation

Calculation of the posterior prob of Hn, Ha and Hc

Description

Calculation of the posterior prob of Hn, Ha and Hc

Usage

get_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: should the covariate inflormation be used? default: False

Value

posterior prob of Hn, Ha and Hc


ichcha-m/cophescan documentation built on June 16, 2024, 1:39 a.m.