Update A for VB FC Bayesian brain mapping using IW prior on FC
update_A(
mu_tau2,
mu_S,
E_SSt,
BOLD,
ntime,
nNets,
nvox,
u_samps,
prior_FC,
usePar = TRUE,
final = 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 , number of locations
Samples from Gamma for multivariate t prior on A
IW parameters for FC prior
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, return cov_A. Default: FALSE