Hi,
I need to create heatmap with bright colors which different values have different colors. all the enteris of my matrix is between -0.1- 0.9.
I have tried the following command, but the heatmap is not interesting. How can I make it nice with more colors such that the different values have different colors?
Here is my command :
heatmap.2(Gene, col=greenred(10), key=TRUE, symkey=FALSE, symm=F,symbreaks=T,cexRow=1,cexCol=1,margins=c(6,11), scale= "column" ,trace="none",srtCol=45)
dev.off()
Here is the image :
Have you tried
rainbow()
instead ofgreenred()
?What about
scale = "row"
? Assuming rows represent different genes the heatmap just highlights most abundant genes whenscale = "column"
.BTW, linking to an image in your gmail inbox won't work. You need to post it somewhere and then link to it there. Well, unless you want to give us your email login details, but that's a bad idea...
i thought that I have copeid inot the post. well, where can I upload image ?
Imgur, tinypic, postimage, etc. Just google "free image hosting" for more sites than you could ever need.
I updated the post.