hm.char: Wrapper for 'Heatmap()' which allows specifying character...

View source: R/hmfns.R

hm.charR Documentation

Wrapper for Heatmap() which allows specifying character width for row and column names and resizing the heatmap accordingly.

Description

Wrapper for Heatmap() which allows specifying character width for row and column names and resizing the heatmap accordingly.

Usage

hm.char(
  x,
  ...,
  char.h = NULL,
  char.w = NULL,
  legend.w = 0,
  height = NULL,
  width = NULL,
  heatmap_height = NULL,
  heatmap_width = NULL,
  units = "in"
)

Arguments

x

A numeric matrix to be plotted.

...

Additional arguments to Heatmap().

char.h

The characther width for column names.

char.w

The character width for row names.

legend.w

Buffer width for legend.

heatmap_height

The heatmap height. Ignored if cell.h is specified.

heatmap_width

The heatmap width. Ignored if cell.w is specified.

units

The unit scale to be used for cell.h and cell.w.

Value

A ComplexHeatmap.


kewiechecki/moreComplexHeatmap documentation built on June 8, 2025, 5:18 a.m.