Set the legend parameter
set_legend_parameters(D3partitionR_object, visible = T, zoom_subset = F,
width = 100)
The D3partitionR object to which the data should be appended
boolean, should the trail be diplayed ? Default: TRUE
boolean, if TRUE, only the modalities present in the children of the zoomed rrot are displayed kin the legend.
legend width in pixel
A D3partitionR object