Modify the pathway description before plotting

modify_description(
  reporter_res,
  pattern = " - Homo sapiens (human)",
  replacement = ""
)

Arguments

reporter_res

reporter_res

pattern

str, like " - Homo sapiens (human)"

replacement

str, like ""

Value

reporter_res

Examples

data("reporter_score_res")
modify_description(reporter_score_res, pattern = " - Homo sapiens (human)")
#> ===============================KO abundance table=============================== 
#> With  4535  KOs and  30  samples.
#> =====================================group====================================== 
#> vs group: WT/ OE
#> ===================================parameter==================================== 
#> use mode: directed; use method: wilcox.test; the feature: ko