sqjin/CellChat

netAnalysis_signalingRole_network cluster.cols and cluster.rows not working

Gabbbbbbb opened this issue · 1 comments

Hi sqjin,
I'm currently using the CellChat package, which is great. But to better illustrate my data, I tried to use the "cluster.cols" function within the "netAnalysis_signalingRole_network", but nothing happened, then I tried to use the "cluster.rows" just to try it out, still not working but I got this error: Error in hclust(get_dist(submat, distance), method = method) :
NA/NaN/Inf in foreign function call (arg 10).
Any idea what happened? is there anyway I could solve this? otherwise I would like to export the input for this heatmap.
Thanks in advance and look forward to your reply.
Best,
Gab

sqjin commented

@Gabbbbbbb It works when I tried "cluster.rows". I just fixed the issue when using cluster.cols. This was updated in https://github.com/jinworks/CellChat