search for: hitmep

Displaying 1 result from an estimated 1 matches for "hitmep".

Did you mean: hitmep2
2010 Feb 07
3
specifying colors in a heatmap/image -like plot
...so I want its color to be "blue"). Below is some code that gives an example of what I am aiming to do and why "heatmap" and "image" functions don't work for me. Thanks in advance for your help. # Example: Suppose Z had 3 values (0,1,2) and I had 8 observations. hitmep <- matrix(c(0,2,1,0,2,1,1,0),2,4) # Graph 1: heatmap(hitmep2, Rowv =NA, Colv =NA, labrow =NULL, scale ="none") # Graph 2: image(t(hitmep2), axes =FALSE) # I like the layout of the plots. My problem with these is that I don't want Z's values (0,1,2) to have colors on a scale....