Heat maps with pheatmap

Can you use labs, scales and themes here?

No, pheatmap is based on the basic plotting system in R. It’s not an extension of ggplot2 so all the ggplot layers will not work in combination with pheatmap(). Instead you specify titles, colors, what the axes should look like and other characteristics of the plot using arguments inside the pheatmap() function.