I'm trying to make a heatmap using heatmap.2
but I don't get a cell border. If I set the parameter sepwidth
and sepcolor
it does not work, I have to include the colsep
and rowsep
parameters but still doing that, some cell borders are not drawn, any ideas?
heatmap.2(as.matrix(df), key=F, trace="none", ColSideColors=colorside,
cexRow=0.6, breaks=bk1, col=colors2,
lmat=rbind(c(0,0), c(0,4), c(0,1), c(3,2), c(0,0)),
lhei=c(0.4,0.3,0.05,0.4,0.6),
sepwidth=c(0.01, 0.01), sepcolor="black",
colsep=1:length(df), rowsep=1:length(df))