Reorganize utils#33
Merged
Merged
Conversation
amcim
approved these changes
Jun 11, 2026
amcim
left a comment
Contributor
There was a problem hiding this comment.
Tests work and app works. And I love the organization of utils and plots files.
As a note, we can organize app in a similar way, but this will require refactoring that code more extensively. We can and probably should do this before submission.
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.
Reorganize
utils.Rinto themed filesWhat
Splits the single
R/utils.Rinto 11 files, to make the codebase easier to read and review ahead of Bioconductor submission. The split follows the pattern: plot builders grouped by feature, with generic helpers in topic-basedutils_*files.plots_metadata.Rplots_modelperf.Rplots_featureimportance.Rplots_crossmodel.Rplots_network.Rutils_data.Rutils_annotation.Rutils_colors.Rmeta_palette()utils_misc.Rnormalize_species, choice helpers, species regexutils_ui.Ramr_button/styledBox/amr_selectimports.R@importFromblockNo logic changed - functions were only relocated. Verified:
devtools::test()passes with zero edits to the test files (148 pass / 0 fail / 2 skip).Notes
app.Rwas intentionally left untouched in this PR (it's the next candidate to break up).