scverse / squidpy

Spatial Single Cell Analysis in Python
https://squidpy.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
428 stars 79 forks source link

correct shuffling of annotations in nhood enrichment #775

Closed giovp closed 8 months ago

giovp commented 10 months ago

IMPORTANT: Please search among the Pull requests before creating one.

Description

How has this been tested?

Closes

codecov-commenter commented 10 months ago

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (68d2c13) 69.86% compared to head (c132877) 69.87%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #775 +/- ## ========================================== + Coverage 69.86% 69.87% +0.01% ========================================== Files 39 39 Lines 5479 5498 +19 Branches 1023 1031 +8 ========================================== + Hits 3828 3842 +14 - Misses 1360 1363 +3 - Partials 291 293 +2 ``` | [Files](https://app.codecov.io/gh/scverse/squidpy/pull/775?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse) | Coverage Δ | | |---|---|---| | [src/squidpy/gr/\_utils.py](https://app.codecov.io/gh/scverse/squidpy/pull/775?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL3NxdWlkcHkvZ3IvX3V0aWxzLnB5) | `60.11% <100.00%> (+2.25%)` | :arrow_up: | | [src/squidpy/pl/\_spatial\_utils.py](https://app.codecov.io/gh/scverse/squidpy/pull/775?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL3NxdWlkcHkvcGwvX3NwYXRpYWxfdXRpbHMucHk=) | `78.70% <100.00%> (ø)` | | | [src/squidpy/pl/\_interactive/\_controller.py](https://app.codecov.io/gh/scverse/squidpy/pull/775?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL3NxdWlkcHkvcGwvX2ludGVyYWN0aXZlL19jb250cm9sbGVyLnB5) | `11.65% <50.00%> (+0.54%)` | :arrow_up: | | [src/squidpy/pl/\_utils.py](https://app.codecov.io/gh/scverse/squidpy/pull/775?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL3NxdWlkcHkvcGwvX3V0aWxzLnB5) | `49.27% <50.00%> (+0.14%)` | :arrow_up: | | [src/squidpy/pl/\_interactive/\_utils.py](https://app.codecov.io/gh/scverse/squidpy/pull/775?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL3NxdWlkcHkvcGwvX2ludGVyYWN0aXZlL191dGlscy5weQ==) | `33.33% <33.33%> (+1.19%)` | :arrow_up: | | [src/squidpy/gr/\_nhood.py](https://app.codecov.io/gh/scverse/squidpy/pull/775?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse#diff-c3JjL3NxdWlkcHkvZ3IvX25ob29kLnB5) | `77.35% <37.50%> (-2.25%)` | :arrow_down: |