I am using Rstudio to create heatmap for some expression data; My file includes 38 genes, therefore, 38 rows and 20 columns as samples. The output heatmap shows only 19 of my genes!!!

Any idea how this might happen?

my R codes:

x row.names(x) x y hr hc heatmap(y, Rowv=as.dendrogram(hr), Colv=as.dendrogram(hc), col=myheatcol, ColSideColors=heat.colors(length(hc$labels)), scale="col")

I don't have this issue when running Pheatmap on the same data!

Something is wrong with my code?

I will appreciate your suggestions,

Mah

More Mahbobeh zamani babgohari's questions See All
Similar questions and discussions