support for French and Italian, added quote to freq

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2018-09-10 15:45:25 +02:00
1 parent b83e6a9380
commit cb0d74a4f0
9 files changed
+81 -18

No files matched your search

+1 -1
View File
@@ -127,7 +127,7 @@ as.mo <- function(x, Becker = FALSE, Lancefield = FALSE) {
x_backup <- x
# translate to English for supported languages of mo_property
x <- gsub("(Gruppe|gruppe|groep|grupo)", "group", x)
x <- gsub("(Gruppe|gruppe|groep|grupo|gruppo|groupe)", "group", x)
# remove 'empty' genus and species values
x <- gsub("(no MO)", "", x, fixed = TRUE)
# remove dots and other non-text in case of "E. coli" except spaces