Plot Single and Mean Splines
plot_single_and_mean_splines.Rd
Generates a plot showing individual time series shapes and their consensus (mean) shape.
Arguments
- time_series_data
A dataframe or matrix with time series data.
- title
A character string specifying the title of the plot.
- 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.).