-
Notifications
You must be signed in to change notification settings - Fork 99
update var by dist normalization #1065
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
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1065 +/- ##
==========================================
- Coverage 65.55% 65.52% -0.03%
==========================================
Files 43 43
Lines 6361 6356 -5
Branches 1063 1063
==========================================
- Hits 4170 4165 -5
Misses 1808 1808
Partials 383 383
🚀 New features to boost your workflow:
|
| df["obs"] = adata.obs_names | ||
|
|
||
| # store dataframes by (slide, anchor) combination and also the corresponding maximum distance for normalization | ||
| # store dataframes by (slide, anchor) combinationq |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
|
Can you describe the issue you're solving here better and then also translate this into a test? |
Previous normalization was useless as it just changed the the distance values to be within [0,1] without actually changing the scale. Now the distances from categories with a lower maximum are stretched to be comparable. This doesn't affect the raw distances which are still provided when running this function. I will add a test. |

Distances to anchor point are now actually normalized for each slide respectively.