-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix lookups #173
Fix lookups #173
Conversation
# corresponding names stored in seurat object meta.data | ||
seurat_keys <- scdata@misc$metadata_lookups[keys] | ||
# same values used in construct_metadata | ||
seurat_keys <- make.names(c('samples', keys), unique = TRUE)[-1] |
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.
I don't quite get why samples is here, because we already generate the samples cell_sets, right?
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.
On line 74 - 81
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.
it's just so that make.names has the same supplied values as it did in create_seurat
Codecov Report
@@ Coverage Diff @@
## master #173 +/- ##
==========================================
+ Coverage 54.72% 56.69% +1.96%
==========================================
Files 19 19
Lines 1239 1233 -6
==========================================
+ Hits 678 699 +21
+ Misses 561 534 -27
Continue to review full report at Codecov.
|
Background
The lookups were broken because
@misc
slot get's overwritten by merging ofscdata_list
Link to staging deployment URL
https://ui-olivergibson-p173.scp-staging.biomage.net/data-management
Links to any Pull Requests related to this
Anything else the reviewers should know about the changes here
Changes
Code changes
Definition of DONE
Your changes will be ready for merging after each of the steps below have been completed:
Testing
To set up easy local testing with inframock, follow the instructions here: https://github.com/biomage-ltd/inframock
To deploy to the staging environment, follow the instructions here: https://github.com/biomage-ltd/biomage-utils
Documentation updates
Is all relevant documentation updated to reflect the proposed changes in this PR?
Approvers
Just before merging:
unstage
script in here: https://github.com/biomage-ltd/biomage-utils is executed. This script cleans up your deployment to stagingOptional