CellChat icon indicating copy to clipboard operation
CellChat copied to clipboard

Error in netAnalysis_signalingRole_scatter(object.list[[i]], title = names(object.list)[i], :

Open ZhangMH2000 opened this issue 2 years ago • 1 comments

Hi! Thank you for developing such a great tools. When I applied tutorial Comparison analysis of multiple datasets using CellChat , I used following command:

gg <- list()
for (i in 1:length(object.list)) {
  gg[[i]] <- netAnalysis_signalingRole_scatter(object.list[[i]], title = names(object.list)[i], weight.MinMax = weight.MinMax)
}

However, I returned

Error in netAnalysis_signalingRole_scatter(object.list[[i]], title = names(object.list)[i],  : 
  Please run `netAnalysis_computeCentrality` to compute the network centrality scores! 

I didn't see netAnalysis_computeCentrality in the tutorial , so could you please tell me how to sovle it? Thank you!

ZhangMH2000 avatar Dec 30 '23 12:12 ZhangMH2000

@ZhangMH2000 This function is used in the basic tutorial of CellChat.

sqjin avatar Dec 30 '23 13:12 sqjin