HCP (HeatmapCovariatePl​ot)

Open-source package to generate publication-quality, highly customizable heatmaps annotated with continuous/categorical metadata variables.
Updated 24 Jun 2019

HCP (HeatmapCovariatePlot) provides a simple high level application programming interface (API) to design elaborated visualizations in a modular fashion. The user can select which elements to include, covariate row annotations and/or heatmaps, by invoking the AddCovariateRow or the AddHeatmap methods. Elements can be vertically stacked and also grouped in functionally related sub-blocks encapsulated by the AddSubBlock method to adjust the figure layout. The plotting options in HCP are chosen sensibly to create production-quality out-of-the-box visualizations in most use-case. HCP features several plotting options to adjust the plot aesthetics to cater for the user preferences in terms of colormaps, labelling, legends and layouts (margins and positions). HCP ease-of-use and rapidity enables the users to iterate through multiple visualization alternatives while focusing on the message conveyed by the data rather than the technicalities involved in generating the plot.

Cite As

Salvucci, Manuela, and Jochen Prehn. “HCP: A Matlab Package to Create Beautiful Heatmaps with Richly Annotated Covariates.” Journal of Open Source Software, vol. 4, no. 38, The Open Journal, June 2019, p. 1291, doi:10.21105/joss.01291.

View more styles

Salvucci, Manuela, and Jochen H. M. Prehn. HCP: A Matlab Package to Create Beautiful Heatmaps with Richly Annotated Covariates. Zenodo, 2019, doi:10.5281/zenodo.3242593.

View more styles
MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Data Distribution Plots in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!