Displaying 1 result from an estimated 1 matches for "jsmt".
Did you mean:
jsm
2011 Jan 05
1
Heat map in R
...35 01
B 2057 01
C 2184 02
D 1498 03
E 2294 03
F 2485 03
G 1560 04
H 3759 04
I 2792 05
J 7081 05
K 1922 06
. . .
. . .
. . .
ZZZ 1354 43
My code in R is something like this:
data<-read.table("/Users/jsmt/desktop/test.txt",header=T)
data_matrix<-data.matrix(data)
data_heatmap <- heatmap(data_matrix, Rowv=NA, Colv=NA, col = cm.colors(256),
scale="column", margins=c(5,10))
I end up getting a heat map split into 3 columns: sample, depth, gene and
the colours are just in big bloc...