Learn R Programming

rafalib (version 1.0.0)

myplclust: plclust in colour

Description

Modifiction of plclust for plotting hclust objects in *in colour*!

Usage

myplclust(hclust, labels = hclust$labels, lab.col = rep(1, length(hclust$labels)), hang = 0.1, xlab = "", sub = "", ...)

Arguments

hclust
hclust object
labels
a character vector of labels of the leaves of the tree
lab.col
colour for the labels; NA=default device foreground colour
hang
as in hclust & plclust
xlab
title for x-axis (defaults to no title)
sub
subtitle (defualts to no subtitle)
...
further arguments passed to plot