Update run_singleR_db with bug fix and test suite#67
Open
wong-nw wants to merge 9 commits into
Open
Conversation
Metadata assignment in Seurat object was failing due to vector name values being retained in `CL:****` format after relabeling from ontology to cell type. Assigning as vector "un-names" the values and allows for addition to Seurat metadata
kelly-sovacool
requested changes
Jun 11, 2026
kelly-sovacool
left a comment
Member
There was a problem hiding this comment.
- R CMD Check is failing, see https://github.com/CCBR/SCOT/actions/runs/27307394266/job/80668762932?pr=67#step:6:270
- looks like the new data is too big. may need to be subsetted. Jing was working on subsetting a BRCA dataset in one of his PRs, maybe check with him and see what is progress is on that and perhaps you can use that dataset here.
- The linter is failing, see details https://github.com/CCBR/SCOT/actions/runs/27307394266/job/80668762945?pr=67
| mm_bm, | ||
| pattern = "^mt-" | ||
| ) | ||
| mm_bm <- subset( |
Member
There was a problem hiding this comment.
which subset() function is being used? does it support using columns as variable names e.g. percent.mt? (see linting errors below)
Collaborator
Author
There was a problem hiding this comment.
It's using the base::subset function, from what I can tell. Following the link from within leads to the base function
https://satijalab.org/seurat/articles/essential_commands#subset-seurat-objects
full boolean Co-authored-by: Kelly Sovacool, PhD <kelly-sovacool@users.noreply.github.com>
Co-authored-by: Kelly Sovacool, PhD <kelly-sovacool@users.noreply.github.com>
Collaborator
Author
It's smaller than the last dataset. It looks like an upstream failure for the other dataset. Let me dig into it |
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
run_singleR_dbtests/testthat/helper-functions.Randtests/testthat/setup.Rpreprocess_sample.Rfetch_celldex_ref.Rto usecacheparameterIssues
Fixes #65
PR Checklist
(
Strikethroughany points that are not applicable.)[ ] Update the docs if there are any API changes (roxygen2 comments, vignettes, readme, etc.).[ ] UpdateNEWS.mdwith a short description of any user-facing changes and reference the PR number. Follow the style described in https://style.tidyverse.org/news.htmldevtools::check()locally and fix all notes, warnings, and errors.R-CMD-checksucceeds on the most recent user commit.