Learn R Programming

mashr (version 0.2.79)

compute_vloglik_from_matrix_and_pi: Computes a vector of loglikelihoods from a matrix of log-likelihoods and fitted pi

Description

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

Usage

compute_vloglik_from_matrix_and_pi(pi_s, lm, Shat_alpha)

Arguments

pi_s

the vector of mixture proportions

lm

the results of a likelihood matrix calculation from calc_relative_lik_matrix

Shat_alpha

matrix of Shat^alpha