R/DE_PART_results_functions.R
wrapper_cluster_trajectory.Rd
Function which plots the trajectory of all the clusters given The function will split the clusters into groups of 8 to keep the figures clean. If multiple figures are created, they will be names 1_of_x until it reaches x_of_x.
wrapper_cluster_trajectory(
object,
cluster_traj_dta,
mean_cluster_traj_dta,
yaxis_name,
log_TP = FALSE,
plot_name = "Ctraj"
)
A timeseries object
The trajectory data for all clusters being calculated
The data is calculated/obtained from calculate_cluster_traj_data
function
The mean value for each clusters trajectory,
the data is calculated/obtained from calculated_mean_cluster_traj
function
Name given to the y axis - used to adjust if the data is scaled or not
Boolean indicating if timepoints (x axis) should be log10 transformed
The name given to the plot file as it is saved
None