Skip to contents

This function generates various exploratory plots including density plots, box plots, violin plots, PCA plots, and correlation heatmaps based on the provided data and metadata.

Usage

generate_explore_plots(data, meta, condition)

Arguments

data

A data frame or matrix containing the data to be plotted.

meta

A data frame containing metadata associated with the data.

condition

A string specifying the column in the metadata that contains the condition or grouping variable.

Value

A list containing two elements:

plots

A list of ggplot objects representing the generated plots.

plots_sizes

A vector of numeric values indicating the sizes of the corresponding plots.