R/plots.R
my_treemap.Rd
My Treemap plot
my_treemap(test, ...)
a three-columns dataframe with hierarchical structure
look for parameters in plot_ly
plot_ly
htmlwidget
# \donttest{ data(otutab) cbind(taxonomy, num = rowSums(otutab))[1:10, c(4, 7, 8)] -> test if (requireNamespace("treemap")) { my_treemap(test) } #> Loading required namespace: treemap # }