# NOT RUN {
# Color in by number of children
collapsibleTreeSummary(warpbreaks, c("wool", "tension", "breaks"), maxPercent = 50)
# Color in by the value of breaks and use the terrain_hcl gradient
collapsibleTreeSummary(
warpbreaks,
c("wool", "tension", "breaks"),
attribute = "breaks",
fillFun = colorspace::terrain_hcl,
maxPercent = 50
)
# }
Run the code above in your browser using DataLab