|
415 | 415 | "source": [ |
416 | 416 | "## Configuring and training a MOFA-FLEX model\n", |
417 | 417 | "\n", |
418 | | - "We now configure and initialise MOFA-FLEX for multi-omic integration of the RNA and protein modalities.\n", |
| 418 | + "We now configure and train MOFA-FLEX for multi-omic integration of the RNA and protein modalities.\n", |
419 | 419 | "Key configuration components include:\n", |
420 | | - "- Data options: the RNA and protein modalities are treated as views of a single group (i.e. same cells).\n", |
| 420 | + "- `n_factors=3` specifies three uninformed latent factors.\n", |
| 421 | + " The uninformed factors will capture information that cannot be represented using our gene program collection.\n", |
| 422 | + " The total number of factors in the model will thus be 59: 56 gene programs plus three uninformed factors.\n", |
| 423 | + "- A Horseshoe prior promotes sparsity while allowing flexible sharing of signal across modalities.\n", |
421 | 424 | " The `gene_set_mask` annotation is linked to the RNA view to guide factor learning using biological priors.\n", |
422 | | - "- Model options:\n", |
423 | | - " - `n_factors=3` specifies three uninformed latent factors.\n", |
424 | | - " The uninformed factors will capture information that cannot be represented using our gene program collection.\n", |
425 | | - " The total number of factors in the model will thus be 59: 56 gene programs plus three uninformed factors.\n", |
426 | | - " - a Horseshoe prior promotes sparsity while allowing flexible sharing of signal across modalities,\n", |
427 | | - " - both weights and factors are constrained to be non-negative for improved interpretability,\n", |
428 | | - " - Gaussian (Normal) likelihoods are chosen for both modalities, reflecting continuous, normalised data.\n", |
| 425 | + "- Both weights and factors are constrained to be non-negative for improved interpretability.\n", |
| 426 | + "- Gaussian (Normal) likelihoods are chosen for both modalities, reflecting continuous, normalised data.\n", |
| 427 | + "- The RNA and protein modalities are treated as views of a single group (i.e. same cells).\n", |
429 | 428 | "\n", |
430 | 429 | "This configuration allows MOFA-FLEX to disentangle shared and modality-specific sources of variation, separating biological signal (e.g. cell-type programs) from technical or experimental noise." |
431 | 430 | ] |
|
0 commit comments