# Reference: MultiAssayExperiment 1.36+ | Verify API if version differs # Pre-integration design diagnostic: assemble a MultiAssayExperiment, then read off the # three decisions that determine whether and how to integrate - sample correspondence # (paired/mosaic/horizontal), the n<
80% of stacked variance hijacks shared factors (Tini 2019) recommend <- if (mosaic_frac > 0.10) { 'mosaic cohort -> MOFA2 (models missing-view samples) rather than complete-case intersection' } else if (max(share) > dominance_flag) { 'one omic dominates variance -> equalize blocks (MFA / per-block keepX / z-score) or use SNF before trusting shared factors' } else { 'paired and balanced -> MOFA2 for an unsupervised map; escalate to DIABLO (supervised) or SNF (subtypes) per question' } cat('\nrecommendation:', recommend, '\n')