Fixes for Salmonella

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2022-12-17 14:31:33 +01:00
1 parent 5f3a7694aa
commit 23fe427cbc
42 files changed
+375 -445

No files matched your search

+2 -2
View File
@@ -214,8 +214,8 @@ create_MO_lookup <- function() {
MO_lookup$fullname_lower <- MO_FULLNAME_LOWER
}
MO_lookup$full_first <- substr(MO_lookup$fullname_lower, 1, 1)
MO_lookup$species_first <- substr(MO_lookup$species, 1, 1)
MO_lookup$species_first <- tolower(substr(MO_lookup$species, 1, 1)) # tolower for groups (Streptococcus, Salmonella)
MO_lookup$subspecies_first <- tolower(substr(MO_lookup$subspecies, 1, 1)) # tolower for Salmonella serovars
MO_lookup
}