Skip to contents

Communication by cell type Heatmap

Usage

liana_heatmap(
  mat,
  font_size = 12,
  grid_text = FALSE,
  name = "Frequency",
  pallette = c("white", "violetred2"),
  row_title = "Sender (Cell types)",
  column_title = "Receiver (Cell types)",
  ...
)

Arguments

mat

Diagonal celltype-celltype matrix to be plotted. In theory, any metric deemed meaningful between cell pairs can be plotted.

font_size

base font_size - other fontsizes are relative to this one

grid_text

logical whether to display grid text or not

name

name of the heatmap. By default the heatmap name is used as the title of the heatmap legend.

row_title

Row tittle

column_title

Column tittle

...

parameters passed to `ComplexHeatmap::Heatmap`

Details

Heatmap function inspired by CellPhoneDBv3 and CellChat's designs on communication heatmaps.