Skip to main content

Multi-omics

Multi-omics means looking at several kinds of data from the same people or samples together, for example microbes and metabolites, or RNA and protein. In a note you can line the data up, find links between them and relate them to outcomes such as survival.

Prompts to try

Copy a prompt into a new note and send it. When the result is back, send the follow-up.

  1. Survival by cancer subtype. Send:

    Load miniACC from MultiAssayExperiment. Which clinical columns describe survival?

    Then:

    Build overall survival time from days_to_death and days_to_last_followup, with vital_status as the event.

    Then:

    Plot Kaplan-Meier curves for the C1A and C1B mRNA subtypes with the survival package.
  2. Shared patterns in microbes, metabolites and liver markers. Send:

    Load HintikkaXOData from mia. What do the three experiments measure?

    Then:

    Agglomerate the microbiota to genus and keep the most prevalent genera.
  3. Which species go with which active enzymes? Send:

    Load ibdmdb from mia. How many participants and samples are there?

    Then:

    Keep the first visit of each participant, the species-level rows of MGX and the unstratified enzyme rows of MTX.
  4. Four kinds of data from leukaemia patients:

    Load the CLL data from MOFAdata. What are the four views, and how many samples does each have?

What a note can do

Notes keep linked data in a MultiAssayExperiment, one R object that ties several data tables to the same people or samples.

  • Get data. Load miniACC, curatedTCGAData, HintikkaXOData, ibdmdb, MOFAdata, SingleCellMultiModal, depmap or HoloFood data, or combine your own tables.
  • Line up samples. Keep only the people or samples that appear in every table.
  • Links between tables. Correlate each feature in one table with each feature in another, for example species with enzymes.
  • Shared factors. MOFA2 finds a few hidden factors that explain variation across all the tables at once. mixOmics offers related methods.
  • One map for two tables. A joint ordination places samples using two tables together.
  • Outcomes. Kaplan-Meier curves, log-rank tests and Cox models with the survival package.

Notes follow the MOFA2 workflows and the multi-omics chapters of the OMA book.

Example notes

The variance explained by each factor in each table, in the 'MOFA on microbes, metabolites and liver markers in rats' note.