d3dendrogram: Plot dendrogram to webpage and view.

Description Usage Arguments Details Value Tips

View source: R/d3dendrogram.R

Description

Plot dendrogram to webpage and view.

Usage

1
2
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.


dendextend documentation built on May 29, 2017, 3:29 p.m.

Search within the dendextend package
Search all R packages, documentation and source code