I use the package heatmap.2to create a heat map:
heatmap.2(as.matrix(FOOBAR.txt[rowSums (abs(FOOBAR.txt)) != 0,]),
col=scaleyellowred,
margins = c(10, 20),
trace="none",
xlab = "Comparisons",
ylab ="gene",
lhei = c(2, 8),
scale=c("none"),
symbreaks=T,
cexRow=0.5,
cexCol=.7,
main="gene comparisons")
The result gives me a warm look that looks like me, and looks good, except that the main font of the header is large. How to reduce header font size? I don't seem to understand. I can change the font of the axis labels, but not the title.
source
share