Skip to content
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

Merged
merged 3 commits into from
Jan 23, 2024

Conversation

alexvpickering
Copy link
Contributor

@alexvpickering alexvpickering commented Jan 22, 2024

Description

Excludes columns that start with scDblFinder from uploaded Seurat objects

Details

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

  • Migrated any selector / reducer used to the new format.

Manual/unit testing

  • Tested changes using InfraMock locally or no tests required for change, e.g. Kubernetes chart updates.
  • Validated that current unit tests for code work as expected and are sufficient for code coverage or no unit tests required for change, e.g. documentation update.
  • Unit tests written or no unit tests required for change, e.g. documentation update.

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.

  • Started end-to-end tests on the latest commit.

Documentation updates

  • Relevant Github READMEs updated or no GitHub README updates required.
  • Relevant Wiki pages created/updated or no Wiki updates required.

Optional

  • Staging environment is unstaged before merging.
  • Photo of a cute animal attached to this PR.

@alexvpickering alexvpickering added the safe to run safe to run Marks the PR as safe to run checks on. IMPORTANT only add if from a trusted source. label Jan 22, 2024
Copy link

codecov bot commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d69ba27) 80.33% compared to head (e1000ba) 80.33%.

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.
📢 Have feedback on the report? Share it here.

Copy link
Member

@gerbeldo gerbeldo left a 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)
Copy link
Member

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.

Copy link
Contributor Author

@alexvpickering alexvpickering Jan 23, 2024

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]>
@alexvpickering alexvpickering merged commit f513491 into master Jan 23, 2024
11 checks passed
@alexvpickering alexvpickering deleted the exclude-scdblfinder branch January 23, 2024 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to run safe to run Marks the PR as safe to run checks on. IMPORTANT only add if from a trusted source.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants