mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 07:10:50 +01:00
(v3.1.0.9020) Plot only the susceptible proportion in ggplot_sir() and geom_sir() if the interpretation is not shown, following the guideline
This commit is contained in:
1 parent
054066b855
commit
035c7e7871
6 files changed
+101
-43
No files matched your search
@@ -1,4 +1,4 @@
|
||||
# AMR 3.1.0.9019
|
||||
# AMR 3.1.0.9020
|
||||
|
||||
This version fixes a critical bug in WISCA that biased all coverage estimates of `wisca()` and `antibiogram(..., wisca = TRUE)` downwards since AMR 3.0.0. Users are strongly advised to re-run their WISCA analyses.
|
||||
|
||||
@@ -19,8 +19,9 @@ This version fixes a critical bug in WISCA that biased all coverage estimates of
|
||||
* Fixed punctuation being italicised along with taxonomic names, e.g., `"(S. aureus)"` now gives `"(*S. aureus*)"` instead of `"(S. *aureus)*"`
|
||||
* `NA` values now return `NA` instead of `"NA"`
|
||||
* Taxonomic names are now looked up once per session, making the function considerably faster for long vectors
|
||||
* `labels_sir_count()` and `ggplot_sir()`
|
||||
* `ggplot_sir()`, `geom_sir()` and `labels_sir_count()`
|
||||
* Fixed the data labels being placed on the wrong bars with `position = "dodge"` or `position = "stack"`. They are now grouped like the bars, using the new `fill` argument of `labels_sir_count()`, which `ggplot_sir()` sets automatically
|
||||
* If the interpretation is not shown in the plot, e.g., with `fill = "species"`, only the susceptible proportion is now plotted, following the guideline: S+SDD+I for EUCAST, S+SDD for CLSI, and S with `guideline = NULL`. Previously, the bars of all interpretations were drawn on top of each other. The y axis title of `ggplot_sir()` then states the category, e.g., "Proportion SI"
|
||||
* `ggplot_pca()`
|
||||
* Fixed an error when setting `groups` together with `labels`, and setting `groups` without `labels` now colours the points by these groups instead of using them as labels, as documented
|
||||
* WISCA (`wisca()` and `antibiogram(..., wisca = TRUE)`)
|
||||
|
||||
Reference in new issue
Block a user