White space between tiles in heatplot ggplot
问题 I have this heatplot that I've generated using ggplot2. What I would like to do is to add white space between the variables listed in capital letters and the variables listed in lower case letters so as to separate these two categories. I still want the tiles to be of equal width. The code I've used to generate the plot is: ggplot(mockdata, aes(variable, Measurement)) + geom_tile(aes(fill = mockdata$plotval), colour = "dark red") + scale_fill_gradient2(limits=c(-20, 20),high = "firebrick3",