d3dendrogram {dendextend}R Documentation

Plot dendrogram to webpage and view.

Description

Plot dendrogram to webpage and view.

Usage

d3dendrogram(d, height = 500, width = 700, rightmargin = 200,
  open = TRUE, ...)

Arguments

d

a dendrogram object

height

pixels, height of the plot.

width

pixels, width of the plot

rightmargin

pixels to reserve on the right side for leaf labels.

open

open the graphic in a browser? (see details).

...

Graphical options, see d3dendro_options.

Details

If open=TRUE, the graphic is opened using the function defined by getOption("viewer"). If no viewer option is specified, utils::browseURL is opened. Specifically, in RStudio this means that the viewer is used.

Value

If open=TRUE, a character string containing the html is invisibly retured. If open=TRUE, a character string containing the html is returned.

Tips

Dendrogram plots with many end-nodes tend to get overlapping labels or (end)nodes. If the number of endnodes is not too large, there are several ways to overcome this.


[Package dendextend version 1.8.0 Index]