my_treemap: My Treemap plot

my_treemapR Documentation

My Treemap plot

Description

My Treemap plot

Usage

my_treemap(test, ...)

Arguments

test

a three-columns dataframe with hierarchical structure

...

look for parameters in plot_ly

Value

htmlwidget

Examples


data(otutab)
cbind(taxonomy, num = rowSums(otutab))[1:10, c(4, 7, 8)] -> test
if (requireNamespace("treemap")) {
  my_treemap(test)
}


pcutils documentation built on June 26, 2024, 1:06 a.m.