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

README.md

pheatmap

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.

Installation

To install the CRAN version use just

install.packages(pheatmap)

You can install the development version using devtools

library(devtools)
install_github("raivokolde/pheatmap")

Features

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

pheatmap_example

You can’t perform that action at this time.