You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah! I'm also having this problem! I've made hundreds of pheatmaps in my day with no issues so I feel a little crazy.
I checked that my heatmap column IDs are identical to my column annotation df rownames, but I don't see any annotation boxes on the figure.
Strangely, if I transpose my annotation df I don't get any errors either, which I definitely should!
p1 <- pheatmap(aanormdb3, color = viridis(15), annnotation_col = t(subsanno), show_rownames = F ) p1
Using 1.01.12 under R 4.2.0. Rstudio 2022.02.2 Build 485
Thanks for an amazing package!
I want to annotate my heatmap, and are doing it this way:
anno = t(data.frame(df[,c("disease")]))
table(anno) #check that it is successfull and it is
ph = pheatmap(df, annotation = anno)
ph
My problem is that the annotations doesn't show and I am not getting any error message. Really appreciate help with this!
The text was updated successfully, but these errors were encountered: