Learn R Programming

pcutils (version 0.2.8)

my_sunburst: My Sunburst plot

Description

My Sunburst plot

Usage

my_sunburst(test, ...)

Value

htmlwidget

Arguments

test

a dataframe with hierarchical structure

...

look for parameters in plot_ly

Examples

Run this code
# \donttest{
data(otutab)
cbind(taxonomy, num = rowSums(otutab))[1:10, ] -> test
if (requireNamespace("plotly")) {
  my_sunburst(test)
}
# }

Run the code above in your browser using DataLab