plot_ascii_data: Visualize the structure of the data in the terminal

View source: R/plot_data.R

plot_ascii_dataR Documentation

Visualize the structure of the data in the terminal

Description

A Fancy printing method

Usage

plot_ascii_data(object, nonzero = FALSE)

Arguments

object

a MOFA object

nonzero

a logical value specifying whether to calculate the fraction of non-zero values (non-NA values by default)

Details

This function is helpful to get an overview of the structure of the data as a text output

Value

None

Examples

# Using an existing trained model
file <- system.file("extdata", "model.hdf5", package = "MOFA2")
model <- load_model(file)
plot_ascii_data(model)

bioFAM/MOFA2 documentation built on June 12, 2024, 3:57 p.m.