plot_data_overview: Overview of the input data

Description Usage Arguments Details Value Examples

View source: R/plot_data.R

Description

Function to do a tile plot showing the missing value structure of the input data

Usage

1
plot_data_overview(object, colors = NULL, show_dimensions = TRUE)

Arguments

object

a MOFA object.

colors

a vector specifying the colors per view (see example for details).

show_dimensions

logical indicating whether to plot the dimensions of the data (default is TRUE).

Details

This function is helpful to get an overview of the structure of the data. It shows the model dimensionalities (number of samples, groups, views and features) and it indicates which measurements are missing.

Value

A ggplot object

Examples

1
2
3
4
# Using an existing trained model
file <- system.file("extdata", "model.hdf5", package = "MOFA2")
model <- load_model(file)
plot_data_overview(model)

MOFA2 documentation built on Nov. 8, 2020, 7:28 p.m.