biostar-tutorials icon indicating copy to clipboard operation
biostar-tutorials copied to clipboard

heatmap.3 breaks when colsep contains 0

Open idno0001 opened this issue 8 years ago • 0 comments

If the colsep parameter is a vector containing 0, running heatmap.3 gives the following error message:

 Error in rect(xleft = csep + 0.5, ybottom = rep(0, length(csep)), xright = csep +  :
  cannot mix zero-length and non-zero-length coordinates

Setting ybottom = 0 in heatmap.3.R:345 seems to make it work.

(The rowsep parameter is not affected.)

idno0001 avatar Feb 28 '17 10:02 idno0001