-
Notifications
You must be signed in to change notification settings - Fork 101
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
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 66.45% 66.14% -0.31%
==========================================
Files 44 44
Lines 7115 7158 +43
Branches 1199 1218 +19
==========================================
+ Hits 4728 4735 +7
- Misses 1913 1944 +31
- Partials 474 479 +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 |
|
@timtreis before you merge, I would push a new spatialleiden version today reflecting the license changes (otherwise it will be the same). |
|
Ok, so the new release is published to PyPI (conda will follow soon). |
|
The package is available on both PyPI and bioconda. Is there anything I can support you with from my side? |
|
merged! Thank you for the contribution @niklasmueboe ! |
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.