modify_description function

Modify the pathway description before plotting

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 ""

Returns

reporter_res

Examples

data("reporter_score_res") modify_description(reporter_score_res, pattern = " - Homo sapiens (human)")