not sure about gplots, but the one in base R should work well if you
specify the scaling method to be 'none':
heatmap(a4[1:40, ], Rowv=NA, Colv=NA, col=c("grey", "blue", "purple",
"red"), scale='none')
Regards,
Yihui
--
Yihui Xie
Phone: 515-294-2465 Web: http://yihui.name
Department of Statisti
Hi there,
I have a matrix like this:
> a4[1:20, 1:5]
194 211 294 314 315
GO:003 1 1 1 1 1
GO:072 0 0 0 0 0
GO:076 1 0 0 0 0
GO:082 1 3 1 1 1
GO:083 1 0 0 0 1
GO:086 0 1 0 1 1
GO:114 0 0 0 0
2 matches
Mail list logo