plotDataOverview {MOFA} | R Documentation

## Plot overview of the input data

### Description

Function to do a tile plot showing the dimensionality and the missing value structure of the multi-omics data.

### Usage

    plotDataOverview(object, colors = NULL)

### Arguments

`object` | a `MOFAmodel` object.
`colors` | a character vector specifying the colors per view. NULL (default) uses an internal palette.

### Details

This function is helpful to get an overview of the dimensionality and the missing value structure of the training data.
It shows the number of samples, the number of views, the number of features, and the structure of missing values.
It is particularly useful to visualise incomplete data sets, where some samples are missing subsets of assays.

### Value

a tile plot of the training data

### Examples

    # Example on the CLL data
    filepath <- system.file("extdata", "CLL_model.hdf5", package = "MOFAdata")
    MOFA_CLL <- loadModel(filepath)
    plotDataOverview(MOFA_CLL)

    # Example on the scMT data
    filepath <- system.file("extdata", "scMT_model.hdf5", package = "MOFAdata")
    MOFA_scMT <- loadModel(filepath)
    # using customized colors
    plotDataOverview(MOFA_scMT, colors= c("red", "red", "red", "blue"))

[Package MOFA version 1.2.0 Index]