Update A for VB FC Bayesian brain mapping using Cholesky prior for FC
update_A_Chol(
mu_tau2,
mu_S,
E_SSt,
BOLD,
ntime,
nNets,
nvox,
prior_FC,
final = FALSE,
exact = FALSE,
usePar = TRUE,
verbose = FALSE
)
List of length two: mu_A
(TxQ) and E_AtA
(QxQ).
Most recent estimates of posterior moments for these variables.
(\(T \times V\) matrix) preprocessed fMRI data.
Number of timepoints, number of networks, number of locations
IW parameters for FC prior
If TRUE, return cov_A. Default: FALSE
If FALSE, at intermediate steps (final = FALSE
) will attempt to
approximate V_k as described in the appendix of Mejia et al. 2024. Setting
exact = TRUE
may be helpful when using spatial ESS correction,
which can lead to a lower rate of usable prior samples for the approximation.
Parallelize the computation? Default: FALSE
. Can be the
number of cores to use or TRUE
, which will use the number available minus two.
If TRUE
, display progress of algorithm. Default: FALSE
.