I'm trying to order the group of my heatmap with wildtype (WT) on the left and disease (SCA7) on the right. However, my heatmap always put SCA7 on the left and WT on the right even after setting cluster_cols to FALSE.
pheatmap(zscore, cluster_rows = FALSE, show_rownames = TRUE, show_colnames = FALSE, cluster_cols = FALSE, annotation_col = df, color = colorRampPalette(c("green","black", "red"))(100))
The df that annotation_col corresponds to looks like this, so the order is WT at first.
Post example data and image to understand the issue better.