Thank you! Does not seem to solve the problem, as it also rearranges the slices of columns when splitting by rows is not present. If no splitting, columns are arranged as in the data matrix z_dheat:
Heatmap(z_dheat,
cluster_columns=FALSE,
show_row_dend = FALSE,
show_row_names = TRUE,
show_column_names = FALSE,
top_annotation = colAnn,
column_title = "Exp1", col=col_fun)
If I add splitting by columns column_split=samples$Group, the order of slices changes; despite cluster_column_slices = FALSE. Anything I can do to help it?
Heatmap(z_dheat,
cluster_columns=FALSE,
show_row_dend = FALSE,
show_row_names = TRUE,
show_column_names = FALSE,
column_split=samples$Group,
cluster_column_slices = FALSE,
top_annotation = colAnn,
column_title = "Exp1", col=col_fun)
how to delete this comment? I have reposted it to a thread below the answer as was adviced