Skip to contents

Generates composite plots of single and consensus shapes for each cluster of curve values.

Usage

plot_cluster_mean_splines(curve_values, plot_info, level)

Arguments

curve_values

A dataframe containing curve values and cluster assignments.

plot_info

List containing the elements y_axis_label (string), time_unit (string), treatment_labels (character vector), treatment_timepoints (integer vector). All can also be NA. This list is used to add this info to the spline plots. time_unit is used to label the x-axis, and treatment_labels and -timepoints are used to create vertical dashed lines, indicating the positions of the treatments (such as feeding, temperature shift, etc.).

Value

A list containing a plot for every cluster