(v1.3.0.9023) optimalisation

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-09-19 11:54:01 +02:00
1 parent 4e40e42011
commit d049cce69b
30 files changed
+104 -578

No files matched your search

-2
View File
@@ -84,8 +84,6 @@ create_MO_lookup <- function() {
# all the rest
MO_lookup[which(is.na(MO_lookup$kingdom_index)), "kingdom_index"] <- 5
MO_lookup$prevalence_kingdom_index <- MO_lookup$prevalence * MO_lookup$kingdom_index
# use this paste instead of `fullname` to work with Viridans Group Streptococci, etc.
MO_lookup$fullname_lower <- tolower(trimws(paste(MO_lookup$genus,
MO_lookup$species,