-
Notifications
You must be signed in to change notification settings - Fork 98
Add COZI to nhood_enrichment() #1023
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
Merge main into cozi_nhood_enrichment to sync with upstream
for more information, see https://pre-commit.ci
I get a resolution-too-deep error for dependencies for ubuntu related to tox and the error for macos also seems to be connected to tox. I only added an import warnings in the code, so I did not change any dependencies. Can someone help? |
Merge CLI changes from upstream
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1023 +/- ##
===========================================
- Coverage 66.63% 23.95% -42.68%
===========================================
Files 40 41 +1
Lines 6060 6186 +126
Branches 1015 1036 +21
===========================================
- Hits 4038 1482 -2556
- Misses 1662 4687 +3025
+ Partials 360 17 -343
🚀 New features to boost your workflow:
|
Hi, sorry I just saw this. I'd like to understand what happens here before I give it an OK. Could we maybe set a meeting in the scverse zulip? |
Description
normalization
parameter for conditional and total normalization of neighbor counts tonhood_enrichment()
as described in Schiller et al bioRxiv.normalization
=conditional
. CCR is the proportion of cells of an index type that neighbors cells of the neighbor type.nhood_enrichment_dotplot()
to plot zscore and CCR at once.min_cell_count
parameter tonhood_enrichment()
to filter out clusters of cells with counts below the set threshold. Filtered out interaction z-scores are replaced with NA.How has this been tested?
Added additional test functions for nhood_enrichment with conditional normalization and CCR. Test images for dotplot are missing, all other tests run successfully.
TODO