plotDataOverview: Plot overview of the input data

Description Usage Arguments Details Value Examples

View source: R/plotData.R

Description

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

Usage

1

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# 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"))

MOFA documentation built on Feb. 11, 2021, 2:01 a.m.