plot_ascii_data: Visualize the structure of the data in the terminal

Description Usage Arguments Details Value Examples

View source: R/plot_data.R

Description

A Fancy printing method

Usage

1
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

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

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