biostar-tutorials
biostar-tutorials copied to clipboard
heatmap.3 breaks when colsep contains 0
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.)