-
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
Handle duplicated barcodes #343
Handle duplicated barcodes #343
Conversation
Signed-off-by: sara castellano <[email protected]>
Signed-off-by: German Beldorati Stark <[email protected]>
Signed-off-by: German Beldorati Stark <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #343 +/- ##
==========================================
+ Coverage 79.86% 80.00% +0.14%
==========================================
Files 29 29
Lines 2970 2986 +16
==========================================
+ Hits 2372 2389 +17
+ Misses 598 597 -1
|
Signed-off-by: sara castellano <[email protected]>
@@ -381,13 +386,21 @@ make_cl_metadata_cellclass <- function(variable, type, cl_metadata, color_pool) | |||
values <- unique(cl_metadata[[variable]]) | |||
|
|||
for (i in seq_along(values)) { | |||
|
|||
cell_ids <- cl_metadata[get(variable) == values[i] & cl_metadata$duplicate_barcode == "no", cells_id] |
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 infamous cells_id
@@ -381,13 +386,21 @@ make_cl_metadata_cellclass <- function(variable, type, cl_metadata, color_pool) | |||
values <- unique(cl_metadata[[variable]]) | |||
|
|||
for (i in seq_along(values)) { | |||
|
|||
cell_ids <- cl_metadata[get(variable) == values[i] & cl_metadata$duplicate_barcode == "no", cells_id] |
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.
Check that duplicate_barcode exists
Signed-off-by: German Beldorati Stark <[email protected]>
Signed-off-by: German Beldorati Stark <[email protected]>
Description
Details
URL to issue
hms-dbmi-cellenics/issues#60
Link to staging deployment URL (or set N/A)
N/A
Links to any PRs or resources related to this PR
Integration test branch
master
Merge checklist
Your changes will be ready for merging after all of the steps below have been completed.
Code updates
Have best practices and ongoing refactors being observed in this PR
Manual/unit testing
Integration testing
You must check the box below to run integration tests on the latest commit on your PR branch.
Integration tests have to pass before the PR can be merged. Without checking the box, your PR
will not pass the required status checks for merging.
Documentation updates
Optional