Skip to content
Pretty heatmaps
Branch: master
Clone or download
Raivo Kolde
Raivo Kolde Add examples
Latest commit b333453 Dec 26, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
R Add examples Dec 26, 2018
.Rbuildignore add Rbuildignore changes Aug 7, 2018
DESCRIPTION Added angle_col parameter Dec 26, 2018
NAMESPACE fixed #37 May 19, 2018
NEWS Added angle_col parameter Dec 26, 2018 Add CRAN comments Dec 26, 2018


A package for drawing pretty heatmaps in R. The ordinary heatmap function in R has several drawbacks when it comes to producing publication quality heatmaps. It is hard to produce pictures with consistent text, cell and overall sizes and shapes. The function pheatmap tries to alleviate the problems by offering more fine grained control over heatmap dimensions and appearance.


To install the CRAN version use just


You can install the development version using devtools



More important features of pheatmap include:

  • ability to directly control the size of the cells, text, etc
  • automatic generation of legends
  • row and column annotations
  • ability to post-edit the heatmap using grid graphics tools
  • easy way to separate clusters visually using spacers
  • reasonable defaults
  • ...

Many of these features are on display in the next figure


You can’t perform that action at this time.