NB: This function was previously named as `netAnalysis_signalingRole`. The previous function `netVisual_signalingRole` is now named as `netAnalysis_signalingRole_network`.
netAnalysis_computeCentrality(
object,
slot.name = "netP",
net = NULL,
net.name = NULL
)
CellChat object
the slot name of object that is used to compute centrality measures of signaling networks
compute the centrality measures on a specific signaling network given by a 2 or 3 dimemsional array net
a character vector giving the name of signaling networks