All stat and plot generation functions - #3
Merged
Conversation
Updated the Markdown design because the tables were coming out as weird piles of spaghetti instead. Added a helper function to simplify some of the repeated operations. Added new package to DESCRIPTION file. Plots have issues with labels clipping out of view, TBA.
metadata.parquet is generated from S. argenteus, and this parquet is being added for testing functions in this PR.
Contributor
Author
|
The script works with the example
|
AbhirupaGhosh
marked this pull request as ready for review
July 27, 2026 22:49
- add custom colors based on other 2 packages - cleanup and sort results from summarization fn - cleaned up titles/labels in both functions - generated example PDF, MD, HTML - rm oneoff dependencies like treemap + unused kableExtra - consistency check between 'resistant isolates' vs. 'AMR isolates' vs. genomes in some cases. still needs checking.
jananiravi
requested changes
Jul 27, 2026
jananiravi
left a comment
Member
There was a problem hiding this comment.
Looks good. Left a few comments for revision.
- Include total observations, unique genome IDs, and associated publications. - Detail antibiotics and antibiotic classes with counts. - Present phenotype counts and resistant proportions per antibiotic and class. - Summarize laboratory methods, collection years, isolation countries, sources, and hosts.
Contributor
Author
|
I addressed @jananiravi 's comments and suggestions. |
jananiravi
previously approved these changes
Jul 28, 2026
…own file due to redundancy in documentation.
eboyer221
approved these changes
Jul 28, 2026
eboyer221
left a comment
Contributor
There was a problem hiding this comment.
Thanks for the quick turnaround on the changes we discussed @AbhirupaGhosh! Confirming everything's resolved.
Holding off on tests for now, but we can follow up in a later PR. Approving.
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.
Description
What kind of change(s) are included?
Checklist
Please ensure that all boxes are checked before indicating that this pull request is ready for review.