library(NMF) # other packages are welcome
car<-as.matrix(cars)
car[car<18]<-0
car[car>=18]<-1
aheatmap(car)
I would like to see only two colors in the legend: the 0 represents blue and 1 represents red.
library(NMF) # other packages are welcome
car<-as.matrix(cars)
car[car<18]<-0
car[car>=18]<-1
aheatmap(car)
I would like to see only two colors in the legend: the 0 represents blue and 1 represents red.