powered by
My Circle packing plot
my_circle_packing( test, anno = NULL, mode = 1, Group = "level", Score = "weight", label = "label", show_level_name = "all", show_tip_label = TRUE, str_width = 10 )
ggplot
a dataframe with hierarchical structure
annotation tablewith rowname for color or fill.
1~2
fill for mode2
color for mode1
the labels column
show which level name? a vector contains some column names.
show_tip_label, logical
str_width
# \donttest{ data(otutab) cbind(taxonomy, weight = rowSums(otutab))[1:10, ] -> test if (requireNamespace("igraph") && requireNamespace("ggraph")) { my_circle_packing(test) } # }
Run the code above in your browser using DataLab