Identify all the significant interactions (L-R pairs) from some cell groups to other cell groups
identifyEnrichedInteractions(
object,
from,
to,
bidirection = FALSE,
pair.only = TRUE,
pairLR.use0 = NULL,
thresh = 0.05
)
CellChat object
a vector giving the index or the name of source cell groups
a corresponding vector giving the index or the name of target cell groups. Note: The length of 'from' and 'to' must be the same, giving the corresponding pair of cell groups for communication.
whether show the bidirectional communication, i.e., both 'from'->'to' and 'to'->'from'.
whether only return ligand-receptor pairs without pathway names and communication strength
ligand-receptor pairs to use; default is all the significant interactions
threshold of the p-value for determining significant interaction