Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

netAnalysis_signalingRole_network cluster.cols and cluster.rows not working #733

Open
Gabbbbbbb opened this issue Dec 12, 2023 · 1 comment

Comments

@Gabbbbbbb
Copy link

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
Copy link
Owner

sqjin commented Dec 16, 2023

@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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants