I attempted to cluster 45,000 cells using Leiden algorithm, using default argument method = "matrix". However, I encountered a "memory issue". But. when I changed `method = "igraph", it ran fine.
In the help, it mentions to use igraph method when we do not want to cast large dataset to dense matrix, so it seems it simply is to deal with large dataset. But, would you mind letting me know if there is other key difference between using igraph vs matrix methods in terms of the clustering results? And, when should I choose one vs the other?
Hi, these arguments are fed into the Leiden clustering algorithm implemented here -- there is more explanation on the exact implementation differences in their documentation.
Hi,
Thanks for the tool.
I attempted to cluster 45,000 cells using Leiden algorithm, using default argument
method = "matrix"
. However, I encountered a "memory issue". But. when I changed `method = "igraph", it ran fine.In the help, it mentions to use
igraph
method when we do not want to cast large dataset to dense matrix, so it seems it simply is to deal with large dataset. But, would you mind letting me know if there is other key difference between usingigraph
vsmatrix
methods in terms of the clustering results? And, when should I choose one vs the other?Related post: https://github.com/scverse/scanpy/issues/1053
Thank you so much for your support!
@denvercal1234GitHub