Usage
hclustplot(hc, k = NULL, h = NULL, colors = NULL, labels = NULL,
fillbox = FALSE, heights = c(1, .3), mar = c(1, 1, 0, 1), ...)
Arguments
hc
an object of the type produced by hclust
.
k
an integer scalar or vector with the desired number of
groups. Redirected to function cutree
.
h
numeric scalar or vector with heights where the tree should
be cut. Redirected to function cutree
. At least one of k
or h must be specified.
colors
a numerical or character vector with the same length as
hc specifying the colors of the labels.
labels
a character vector with the same length as
hc containing the labels to be written.
fillbox
logical, if TRUE clustering annotation will be drawn
as filled boxes below the dendrogram.
heights
numeric vector of length two specifying the values for
the heights of rows on the device. See function layout
.
mar
a numerical vector of the form c(bottom, left, top, right)
which gives the number of lines of margin to be specified on
the four sides of the plot. If left at default the margins will be
adjusted upon adding arguments
...
other graphical parameters passed to functions
plot.dendrogram
, mtext
, and par
. Note that
certain arguments will be ignored.