Hello,
I want a help, i have to make heat map.And i am using the following command
In R for generating a matrix, but its returning an error,and i am not able
to figure it out.
Can you please tell me what is wrong?
And please also suggest me how to generate a heat map.
Its very urgent.

Thanks a lot.

mat <-
matrix(c(100,49.3,45.71,54.29,97.22,68.57,49.3,100,22.54,26.76,50.7,33.8,45.71,22.54,100,84.21,44.44,66.67,54.29,26.76,84.21,100,52.78,79.17,97.22,50.7,44.44,52.78,100,66.67,68.57,33.8,66.67,79.17,66.67,100),
nrow = 6, ncol = 6, byrow = TRUE,dimnames =
list(c(""A_1HJO","B_2L1W","C_1MHS","D_1HQY","E_1XU4","F_1JNB""),c(("A_1HJO","B_2L1W","C_1MHS","D_1HQY","E_1XU4","F_1JNB"))))

Error: unexpected symbol in
"49.3,45.71,54.29,97.22,68.57,49.3,100,22.54,26.76,50.7,33.8,45.71,22.54,100,84.21,44.44,66.67,54.29,26.76,84.21,100,52.78,79.17,97.22,50.7,44.44,52.78,100,66.67,68.57,33.8,66.67,79.17,66.67,10"

Gaurav Pandey
PhD Scholar
Department of Biotechnology,
Indian Institute of Technology Guwahati.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to