Department of Bioinformatics and Computational Biology

The NG-CHM R Builder

The NGCHM R Builder consists of the NGCHM R package and several support packages. It enables Next-Generation Clustered Heat Maps to be constructed programmatically.

The R package provides the greatest range of options for creating an NG-CHM. You are not restricted by the limited options included in the graphical builders. For instance, you can use any clustering method available within R, its package library, or even your own code to order the rows and/or columns in an NG-CHM. However, using the R package requires programming expertise in R.

For an overview of using the package, see our How to Create Next-Generation Clustered Heat Map in R Studio video (opens in new tab).

Refer to the package documentation website (opens in new tab) for:

  • Installation instructions (important)
  • Tutorials (Vignettes)
  • Function reference
  • YouTube video links

NG-CHM R Builder Packages

Package                         Location    Source      Description
NGCHM (opens in new tab) CRAN GitHub (opens in new tab) R Package for building NG-CHMs.
tsvio (opens in new tab) CRAN GitHub (opens in new tab) Utilities for rapidly loading specified rows and/or columns of data from large tab-separated value (tsv) files (large: e.g. 1 GB file of 10000 x 10000 matrix). ‘tsvio’ is an R wrapper to ‘C’ code that creates an index file for the rows of the tsv file, and uses that index file to collect rows and/or columns from the tsv file without reading the whole file into memory.
NGCHMSupportFiles (opens in new tab) R Universe GitHub (opens in new tab) Support files required by the ‘NGCHM’ package to export Next-Generation Clustered Heat Maps (NG-CHMs) to .ngchm, HTML, and PDF files.
NGCHMDemoData (opens in new tab) R Universe GitHub (opens in new tab) Package of demo data for NGCHM vignettes.