gapmap-package: Draws gapped heatmap (gapmap) and gapped dendrograms using...

Description Details Author(s)


Functions for drawing gapped cluster heatmap with ggplot2


This is a set of tools for drawing gapmaps using ggplot

gap_data extracts data from a dendrogram object. Make sure to convert hclust object to dendrogram object by calling as.dendrogram(). This method generates an object class gapdata, consisting of a list of data.frames. The general workflow is as following:

  1. Hierarchical clustering hclust()

  2. Convert the hclust output class into dendrogram by calling as.dendrogram()

  3. Generate a gapped cluster heatmap by specifying a matrix and dendrogram objects for rows and columns in gapmap() function


Ryo Sakai

Search within the gapmap package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.