I am trying to create a heatmap with gene expression values with the package pheatmap in r. I have used the code numerous times and never had a problem untill today. It seems when I do the scale="row" , I end up with this error. I cannot create the z-scores. So probably some rows have no variability for which this is happening. How can I get rid of this. The matrix is having 1100 rown and 9 columns. Below is the code am usingI am trying to create a heatmap with gene expre