updated taxonomy

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2022-12-12 00:14:56 +01:00
1 parent eed1c14b96
commit 8da2467209
46 files changed
+132944 -57370

No files matched your search

+7 -2
View File
@@ -206,8 +206,13 @@ create_MO_lookup <- function() {
MO_lookup[which(MO_lookup$kingdom == "Archaea"), "kingdom_index"] <- 4
# all the rest
MO_lookup[which(is.na(MO_lookup$kingdom_index)), "kingdom_index"] <- 5
MO_lookup$fullname_lower <- MO_FULLNAME_LOWER
if (length(MO_FULLNAME_LOWER) != nrow(MO_lookup)) {
packageStartupMessage("fullname_lower not same size - applied tolower(), update sysdata.rda!")
MO_lookup$fullname_lower <- tolower(MO_lookup$fullname)
} else {
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)