This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2024-04-23 09:34:05 +02:00
1 parent 2899b3c840
commit 35f095cceb
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
Package: AMR Package: AMR
Version: 2.1.1.9021 Version: 2.1.1.9022
Date: 2024-04-19 Date: 2024-04-23
Title: Antimicrobial Resistance Data Analysis Title: Antimicrobial Resistance Data Analysis
Description: Functions to simplify and standardise antimicrobial resistance (AMR) Description: Functions to simplify and standardise antimicrobial resistance (AMR)
data analysis and to work with microbial and antimicrobial properties by data analysis and to work with microbial and antimicrobial properties by
+1 -1
View File
@@ -1,4 +1,4 @@
# AMR 2.1.1.9021 # AMR 2.1.1.9022
*(this beta version will eventually become v3.0. We're happy to reach a new major milestone soon, which will be all about the new One Health support!)* *(this beta version will eventually become v3.0. We're happy to reach a new major milestone soon, which will be all about the new One Health support!)*
+1 -1
View File
@@ -294,7 +294,7 @@ antibiogram <- function(x,
} else if (mo_transform == "name") { } else if (mo_transform == "name") {
x$`.mo` <- mo_name(x$`.mo`, language = language) x$`.mo` <- mo_name(x$`.mo`, language = language)
} else { } else {
x$`.mo` <- mo_property(x$`.mo`, language = language) x$`.mo` <- mo_property(x$`.mo`, property = mo_transform, language = language)
} }
x$`.mo`[is.na(x$`.mo`)] <- "(??)" x$`.mo`[is.na(x$`.mo`)] <- "(??)"