Re: [R] Z score in gplots

2012-07-30 Thread David Winsemius
On Jul 29, 2012, at 9:49 PM, Khush gg wrote: Hi, Can anyone tell me how to set Z-score according to my own requirement as the below code is taking as per the file entries. Any help would be appreciable. That was a bit vague and hard to parse, but I'm thinking I may need to make

[R] Z score in gplots

2012-07-29 Thread Khush gg
Hi, Can anyone tell me how to set Z-score according to my own requirement as the below code is taking as per the file entries. Any help would be appreciable. library(gplots) x=read.table(final.txt, header=TRUE) mat=data.matrix(x) heatmap.2(mat, col=colorRampPalette(c(green,white,red))(256),