| aggregateNet | R Documentation | 
Calculate the aggregated network by counting the number of links or summarizing the communication probability
aggregateNet(
  object,
  sources.use = NULL,
  targets.use = NULL,
  signaling = NULL,
  pairLR.use = NULL,
  remove.isolate = TRUE,
  thresh = 0.05,
  return.object = TRUE
)
object | 
 CellChat object  | 
sources.use, targets.use, signaling, pairLR.use | 
 Please check the description in function   | 
remove.isolate | 
 whether removing the isolate cell groups without any interactions when applying   | 
thresh | 
 threshold of the p-value for determining significant interaction  | 
return.object | 
 whether return an updated CellChat object  | 
Return an updated CellChat object:
'object@net$count' is a matrix: rows and columns are sources and targets respectively, and elements are the number of interactions between any two cell groups. USER can convert a matrix to a data frame using the function 'reshape2::melt()'
'object@net$weight' is also a matrix containing the interaction weights between any two cell groups
'object@net$sum' is deprecated. Use 'object@net$weight'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.