mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 07:10:50 +01:00
updated taxonomy
This commit is contained in:
1 parent
eed1c14b96
commit
8da2467209
46 files changed
+132944
-57370
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user