-
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
exclude scDblFinder columns from Seurat uploads #353
Conversation
Signed-off-by: Alex Pickering <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #353 +/- ##
=======================================
Coverage 80.33% 80.33%
=======================================
Files 29 29
Lines 3061 3062 +1
=======================================
+ Hits 2459 2460 +1
Misses 602 602 ☔ View full report in Codecov by Sentry. |
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.
left a small comment but looks good!
|
||
# exclude all group columns, including duplicates | ||
group_cols <- find_group_columns([email protected], remove.dups = FALSE) | ||
group_cols <- find_group_columns(meta, remove.dups = FALSE) | ||
scdblfinder_cols <- grep('^scDblFinder', colnames(meta), value = TRUE) |
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.
why not add it to exclude_cols
? don't really feel strongly about it though. whatever you think looks best is fine by me.
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.
That's what I did initially as well but it interferes with how exclude_cols
is used further down (checking to see if a column is same as samples
or other group column). I'll rename exclude_cols
to make this more obvious
Signed-off-by: Alex Pickering <[email protected]>
Signed-off-by: Alex Pickering <[email protected]>
Description
Excludes columns that start with
scDblFinder
from uploaded Seurat objectsDetails
URL to issue
hms-dbmi-cellenics/issues#107
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