Learn R Programming

CellChat (version 1.0.0)

mergeInteractions: Compute the number of interactions/interaction strength between cell types based on their associated cell subpopulations

Description

Compute the number of interactions/interaction strength between cell types based on their associated cell subpopulations

Usage

mergeInteractions(object, group.merged)

Arguments

object

CellChat object

group.merged

a factor defining the group for merging different clusters/subpopulations

Value

An updated slot `net` by adding three elements:

`count.merged`: the number of interactions between cell types (i.e., merged cell groups)

`weight.merged`: interaction strength between cell types (i.e., merged cell groups)

`group.merged` the defined group for merging different clusters/subpopulations