calc_lik_vector {mashr} | R Documentation |
Compute conditional likelihoods for bhat vector.
Description
Computes vector of likelihoods for bhat for each of P prior covariances.
This is an internal (non-exported) function. This help page provides additional documentation mainly intended for developers and expert users.
Usage
calc_lik_vector(bhat, V, Ulist, log = FALSE)
Arguments
bhat |
bhat vector (length R) |
V |
R x R covariance matrix for likelihood. |
Ulist |
list of prior covariance matrices. |
log |
If |
Value
Vector of length P in which the pth element contains the multivariate normal likelihood p(bhat | Ulist[[p]], V).
[Package mashr version 0.2.79 Index]