Run common cell-cell communication analyses
Arguments
- object
A
Seuratobject.- group.by
Metadata column(s) used to color cells.
- methods
Supported cell-cell communication methods to run. The default core methods are
"CellChat","CellphoneDB", and"LIANA". NicheNet, MultiNicheNet, SpatialCellChat, SpatialDM, and MDIC3 can be selected when their design-specific arguments are supplied throughmethod_params. LIANA's default internal method set includes its CellPhoneDB scorer, so standalone CellphoneDB and LIANA consensus results are not statistically independent evidence.- method_params
Named list of method-specific arguments passed to the corresponding wrapper. For example, use
method_params$CellphoneDB$pvaluefor CellphoneDB-specific parameters.- backend
Backend used only for result post-processing and unified CCC table aggregation. The upstream CellChat, CellphoneDB, and LIANA inference logic is unchanged.
- skip_failed
Whether to keep running remaining methods if one method fails.
- rebuild_unified
Whether to rebuild
srt@tools[["CCC"]]from the completed methods after all requested methods finish.- thresh
Significance threshold used when rebuilding unified CCC tables and passed to
RunCellChat()unless overridden inmethod_params$CellChat.- verbose
Whether to print the message. Default is
TRUE.- srt
Deprecated alias for
object; supply exactly one of the two. It will be removed in scop 1.0.0.
Details
Choose a named method in methods and keep method-specific inference arguments in method_params. For example, select CellChat with methods = "CellChat" and pass species in method_params$CellChat. Choose sender/receiver, top records, colors, and legend position in the plotting function after inference; these do not rerun the engine. Save the Seurat object with saveRDS() to preserve native and unified results. Use ccc_to_liana() for ligand–receptor records, not for association-only methods such as MDIC3. Those methods may have nonempty group-pair tables even when there are no ligand–receptor rows.