plot_report_circle_packing | R Documentation |
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
)
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? |
ggplot
data("reporter_score_res")
if (requireNamespace("igraph") && requireNamespace("ggraph")) {
plot_report_circle_packing(reporter_score_res, rs_threshold = c(2, -2), str_width = 40)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.