Upgrade the KO level
up_level_KO(
KO_abundance,
level = "pathway",
show_name = FALSE,
modulelist = NULL,
verbose = TRUE
)
KO_abundance
one of 'pathway', 'module', 'level1', 'level2', 'level3', 'module1', 'module2', 'module3'.
logical
NULL or customized modulelist dataframe, must contain 'id','K_num','KOs','Description' columns. Take the `KOlist` as example, use custom_modulelist
.
logical
data.frame
data("KO_abundance_test")
KO_level1 <- up_level_KO(KO_abundance, level = "level1", show_name = TRUE)
#> =================================load KO_htable=================================
#> ==============KO_htable download time: 2023-07-31 03:21:54.040036===============
#> If you want to update KO_htable, use `update_htable(type='ko')`