-
Notifications
You must be signed in to change notification settings - Fork 98
Add SpatialLeiden as clustering method #1019
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
@niklasmueboe FYI as the author of spatialleiden. This PR adds |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1019 +/- ##
==========================================
- Coverage 65.52% 65.19% -0.34%
==========================================
Files 43 43
Lines 6364 6407 +43
Branches 1064 1083 +19
==========================================
+ Hits 4170 4177 +7
- Misses 1810 1841 +31
- Partials 384 389 +5
🚀 New features to boost your workflow:
|
|
Hi @melocery sorry for my late response. We were a bit inactive regarding the update of the niche function, but we are getting back into it now. This looks like a great PR and was certainly needed! Thank you for the contribution. Will check it asap. Shouldn't take too long to merge. |
|
Hey @melocery, thank you for PR! However, there's a licensing issue with it, so we can't accept it in this state. Your PR adds a hard dependency on For us to depend on |
Thanks for the hint, I didn't properly check the licenses before apparently. Another question (that may be misplaced here but is still in scope of the scverse);
Currently, i don't think there is a way short of a reimplementation of |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Yes, exactly 👍 I just pushed some changes that make it an optional dependency, similar to how |
Close #879
Added support for
spatialleidenas a flavor insq.gr.calculate_niche, following up on the idea mentioned in #879. The method is now integrated via theflavor="spatialleiden"option, wrapping thespatialleiden.spatialleiden()function.