up_level_KO: Upgrade the KO level

up_level_KOR Documentation

Upgrade the KO level

Description

Upgrade the KO level

Usage

up_level_KO(
  KO_abundance,
  level = "pathway",
  show_name = FALSE,
  modulelist = NULL,
  verbose = TRUE
)

Arguments

KO_abundance

KO_abundance

level

one of 'pathway', 'module', 'level1', 'level2', 'level3', 'module1', 'module2', 'module3'.

show_name

logical

modulelist

NULL or customized modulelist dataframe, must contain 'id','K_num','KOs','Description' columns. Take the 'KOlist' as example, use custom_modulelist.

verbose

logical

Value

data.frame

Examples

data("KO_abundance_test")
KO_level1 <- up_level_KO(KO_abundance, level = "level1", show_name = TRUE)

ReporterScore documentation built on Sept. 11, 2024, 6:44 p.m.