plot_report_circle_packing function

Plot the reporter_res as circle_packing

Plot the reporter_res as circle_packing

plot_report_circle_packing( reporter_res, rs_threshold = 1.64, mode = 2, facet_anno = NULL, show_ID = FALSE, Pathway_description = TRUE, str_width = 10, show_level_name = "all", show_tip_label = TRUE )

Arguments

  • reporter_res: result of get_reporter_score
  • rs_threshold: plot threshold vector, default:1.64
  • mode: 1~2 plot style.
  • facet_anno: annotation table for facet, more two columns, last is pathway name, last second is pathway id.
  • show_ID: show pathway id
  • Pathway_description: show KO description rather than KO id.
  • str_width: str_width to wrap
  • show_level_name: show the level name?
  • show_tip_label: show the tip label?

Returns

ggplot

Examples

data("reporter_score_res") if (requireNamespace("igraph") && requireNamespace("ggraph")) { plot_report_circle_packing(reporter_score_res, rs_threshold = c(2, -2), str_width = 40) }