Learn R Programming

cellGeometry (version 0.5.7)

comp_heatmap: Compensation heatmap

Description

Plots a heatmap of the compensation matrix for cell subclasses using ComplexHeatmap.

Usage

comp_heatmap(
  x,
  cell_table = NULL,
  text = NULL,
  cutoff = 0.2,
  fontsize = 8,
  subset = NULL,
  ...
)

Value

No return value. Draws a ComplexHeatmap.

Arguments

x

object of class 'deconv' or a matrix of compensation values.

cell_table

optional grouping vector to separate the heatmap rows and columns into groups.

text

Logical whether to show values whose absolute value > cutoff. By default only shown for smaller matrices.

cutoff

Absolute threshold for showing values.

fontsize

Numeric value for font size for cell values when text = TRUE.

subset

Character vector of groups to be subsetted.

...

optional arguments passed to ComplexHeatmap::Heatmap()