Skip to contents

This function takes a data matrix, checks its validity, and generates a list of exploratory plots including density plots, boxplots, PCA plots, MDS plots, variance explained plots, and violin plots.

Usage

explore_data(splineomics, report_dir = here::here(), report = TRUE)

Arguments

splineomics

A SplineOmics object, containing the data, meta, condition, report_info, meta_batch_column, and meta_batch2_column;

report_dir

A non-empty string specifying the report directory.

report

A Boolean TRUE or FALSE value, specifying if a report should be generated or not. A report is generated per default, but when only the plots as plot objects inside R are desired, this argument can be set to FALSE.

Value

A list of ggplot objects representing various exploratory plots.