compute_posterior_weights {mashr}R Documentation

Compute posterior probabilities that each effect came from each component

Description

This is an internal (non-exported) function. This help page provides additional documentation mainly intended for developers and expert users.

Usage

compute_posterior_weights(pi, lik_mat)

Arguments

pi

a K vector of mixture proportions

lik_mat

a JxK matrix of likelihoods

Value

a JxK matrix of posterior probabilities, the jth row contains posteriors for jth effect


[Package mashr version 0.2.79 Index]