Similar to compute_global_vaf_mfa, but uses a Mixture PCA model structure.
Given a model with z, mu, P, D, Psi, we reconstruct each subject's data from
the principal component scores, accumulate SSE, and compare to total sum of squares (SST).
Arguments
- list_of_data
A list of
(T_i x M)data matrices.- res
The fitted Mixture PCA model, typically from
mixture_pca_em_fit. Must contain:z: cluster assignments (length N).mu: list of length K, each(M)vector.P: list of length K, each(M x r).D: list of length K, each(r x r)diagonal.Psi: list of length K, each(M x M)diagonal.