I'm having some troubles by trying to set a specific column order for a heatmap with the Pheatmap package.
Actually I got mydata
to be plot and I'm trying to set my_col
as order for the columns:
my_col <- list("AL703GG", "AO641M", "CL374FF", "AO643DD", "CO438LL", "CE480L", "AE608H", "SM11", "AK83", "NGR", "AK58", "AK75", "BL225C", "CO431A", "H1", "AL703H", "1A42", "8A52", "T073", "4B41", "7B22")
pheatmap(mydata2,
display_numbers = FALSE,
annotation_row = my_rows,
cluster_rows = F)
How can I do that? Thanks in advance!