This heatmap can be used to show differential number of interactions or interaction strength in the cell-cell communication network between two datasets; the number of interactions or interaction strength in a single dataset the inferred cell-cell communication network in single dataset, defined by `signaling`
netVisual_heatmap(
object,
comparison = c(1, 2),
measure = c("count", "weight"),
signaling = NULL,
slot.name = c("netP", "net"),
color.use = NULL,
color.heatmap = c("#2166ac", "#b2182b"),
title.name = NULL,
width = NULL,
height = NULL,
font.size = 8,
font.size.title = 10,
cluster.rows = FALSE,
cluster.cols = FALSE,
sources.use = NULL,
targets.use = NULL,
remove.isolate = FALSE,
row.show = NULL,
col.show = NULL
)
A merged CellChat object or a single CellChat object
a numerical vector giving the datasets for comparison in object.list; e.g., comparison = c(1,2)
"count" or "weight". "count": comparing the number of interactions; "weight": comparing the total interaction weights (strength)
a character vector giving the name of signaling networks in a single CellChat object
the slot name of object. Set is to be "netP" if input signaling is a pathway name; Set is to be "net" if input signaling is a ligand-receptor pair
the character vector defining the color of each cell group
A vector of two colors corresponding to max/min values, or a color name in brewer.pal only when the data in the heatmap do not contain negative values
the name of the title
width of heatmap
height of heatmap
fontsize in heatmap
font size of the title
whether cluster rows
whether cluster columns
a vector giving the index or the name of source cell groups
a vector giving the index or the name of target cell groups.
whether remove the isolate nodes in the communication network
a vector giving the index or the name of row or columns to show in the heatmap
an object of ComplexHeatmap
When show differential number of interactions or interaction strength in the cell-cell communication network between two datasets, the width of edges represent the relative number of interactions or interaction strength. Red (or blue) colored edges represent increased (or decreased) signaling in the second dataset compared to the first one.
The top colored bar plot represents the sum of column of values displayed in the heatmap. The right colored bar plot represents the sum of row of values.