Function which adjusts and renames certain elements of the heat_list produced by create_heatmap_matrix

It performs a log_transformation if necessary and converts the vectors into factors to be used for annotation purposes within the heatmap

This function is intended to be used within the cusom_heatmap_wrapper

prepare_heat_data(matrix_list, log_transform)

Arguments

matrix_list

The heat_list produced by create_heatmap_matrix

log_transform

If a log transformation of the data is necessary

Value

An updated version of the inputted matrix_list

Examples

TS_object<-create_example_object_for_R()
TS_object <- normalize_timeSeries_with_deseq2(time_object=TS_object)
#> converting counts to integer mode
#Perform conditional differential gene expression analysis
TS_object<-conditional_DE_wrapper(TS_object,vignette_run=TRUE)
heat_dta<-create_conditional_heatmap_matrix(TS_object)
heat_dta<-prepare_heat_data(heat_dta,log_transform=TRUE)