-
Notifications
You must be signed in to change notification settings - Fork 59
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
Save velocity parameters to .varm instead .var #579
Conversation
Codecov Report
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. @@ Coverage Diff @@
## master #579 +/- ##
==========================================
+ Coverage 22.32% 22.75% +0.42%
==========================================
Files 158 160 +2
Lines 26356 26474 +118
==========================================
+ Hits 5885 6024 +139
+ Misses 20471 20450 -21
... and 7 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
if i in var_columns: | ||
del adata.var[i] | ||
if i in vel_params_df.columns: | ||
del vel_params_df[i] | ||
|
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.
what adata.uns["vel_params_names"]?
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.
The adata.uns["vel_params_names"] will be updated later with update_vel_params(adata, params_df=vel_params_df)
.
Use a matrix called
vel_params
in.varm
to replace all velocity parameters in.var
. Column names will be saved in.uns
asvel_params_names
. Cell-wise velocity will remain the same. Helper functions to read and update the parameters are created.