Skip to main content

Heatmap3: an improved heatmap package with more powerful and convenient features

Background

Heat map and clustering are used frequently in expression analysis studies for data visualization. Simple clustering and heat map can be produced from the “heatmap” function in R language. However, it has some limitations in producing advanced graphics and is not highly customizable. Thus, we developed an R package heatmap3 which significantly improves the original heatmap by adding more powerful and convenient features and providing a highly customizable interface.

Materials and methods

The heatmap3 package is developed based on the heatmap function in the R language and is completely compatible with it. All the commands and parameters for heatmap can also be used in heatmap3. At the same time, heatmap3 imported many new parameters to provide more powerful features. Heatmap3 also provided a highly customizable interface for users’ own functions so that they can label and annotate the data in the figure very easily.

Results

The new features of heatmap3 include a highly customizable legend and side annotation, a wider range of color selections, new labeling features which allow the user to define multiple layers of phenotypes and automatically compute associations based on these phenotypes. Additional features such as different agglomeration methods for estimating distance between two samples are added for clustering. A simulated data is used to demonstrate the result of heatmap3 package (Figure 1).

Figure 1
figure1

An example of heatmap3 package. The tree in column 1 was divided into two parts based on the correlation between samples and then labeled respectively. The figure in the column side demonstrates the annotation and labeling function for continuous and factor variables. The figure to the left of the rows is an example for multiple layers of phenotypes labeling by color bar.

Availability

The heatmap3 package can be accessed freely at github [1].

Author information

Affiliations

Authors

Corresponding author

Correspondence to Yu Shyr.

Rights and permissions

Open Access  This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made.

The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.

To view a copy of this licence, visit https://creativecommons.org/licenses/by/4.0/.

The Creative Commons Public Domain Dedication waiver (https://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Zhao, S., Guo, Y., Sheng, Q. et al. Heatmap3: an improved heatmap package with more powerful and convenient features. BMC Bioinformatics 15, P16 (2014). https://doi.org/10.1186/1471-2105-15-S10-P16

Download citation

Keywords

  • Simulated Data
  • Analysis Study
  • Combinatorial Library
  • Multiple Layer
  • Data Visualization