simulate_twoOmicsData()) to the
current standardized structure used by downstream tools.Normalizes outputs that may contain fields like omic.one, omic.two,
list_betas/beta, and list_deltas/delta into a unified structure with
omics, list_betas (per-omic), signal_annotation (samples and features),
and a factor_map. If the input already matches the current schema, it is
returned unchanged.
as_multiomics(x)A standardized list with components:
concatenated_datasets — list of one matrix cbind(omic1, omic2, ...).
omics — named list of matrices (samples x features).
list_alphas — per-factor sample scores (named alpha1, alpha2, ...).
list_betas — list per-omic with per-factor loadings (named beta1, beta2, ...).
signal_annotation — list with samples and features indices per factor and per-omic.
factor_structure — best-effort label: "shared", "unique", or "mixed".
factor_map — which omics each factor loads on.
A list-like legacy simulation object (e.g., produced by
simulate_twoOmicsData() or similar helpers). May also be a list with
element omics that is itself a list of matrices.
Coerce legacy simulation outputs to the current multi-omics schema