I was wondering if it is possible to change the rows and columns annotation of a balloon plot generated by the gplots package.
Assuming my data are a subset of the mtcars dataset
data(mtcars)
dt <- as.table(as.matrix(mtcars[1:10,]))
I can make the balloon plot as follows
library("gplots")
balloonplot(t(dt), xlab ="", ylab="", label = FALSE, show.margins = FALSE)
Can I change the color of the gray bars (for both x and y) with an arbitrary color? For instance I want mpg, cyl, disp and drat in red, all the other in blue.
Is this possible? Or I need to look at another package?
Thanks