plot.polar.clust: Plot functions for polar dendrograms

Description Usage Arguments Value Author(s)

View source: R/polar.clust.R

Description

Class specific methods for class polar.clust. If you are not happy with the looks of the plot you can build it up manually by calling it with type="n" and add the annotation functions.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## S3 method for class 'polar.clust'
plot(x, type = c("l", "n"), labels, label.col,
  label.size = 1, las = 2, expand, axes = TRUE, ..., bg.col,
  grid.col = "gray90")

## S3 method for class 'polar.clust'
lines(x, lwd = c(1, 10), col, sector = c(0, 2 * pi),
  ...)

## S3 method for class 'polar.clust'
labels(object, r, sector = c(0, 2 * pi),
  cex = par("cex"), col, las = par("las"), ...)

## S3 method for class 'polar.clust'
points(x, sector = c(0, 2 * pi), col, ...)

Arguments

x

polar.clust object.

type

Plot type. "l" is normal and "n" is blank (letting you add whatever layers you want manually.

lines

Whether to plot the trees branches.

points

Whether to plot the trees leaves.

labels

Whether to plot the leaves' labels.

label.col

Whether to colour labels by leaf colour.

label.size

Relative text size of labels.

expand

Controls how much white space should surround the plot. Use expand=1 for no white space and larger numbers for more.

axes

Whether to plot axes or not.

...

Sent to plot.

bg.col

Background colour.

grid.col

Radial grid color.

lwd

Minimum and maximum branch widths.

col

Colour.

sector

The sector of the plot area to use, e.g. set sector=c(1/2, 2)*pi to leave one quadrant empty, giving room to put a legend.

object

Same as x. Named differently to keep S3 consistency.

r

Radius at which to plot the labels.

cex

Relative size, see par for details.

las

Label orientation, see par.

Value

Nothing, produces a plot.

Author(s)

Christofer B<c3><a4>cklin


backlin/polarClust documentation built on June 4, 2017, 12:11 a.m.