plot.clustering: Plot method for the "clustering" object.

Description Usage Arguments Value

View source: R/plot.R

Description

plot the clustering object returned by clusterTimeseries

Usage

1
2
3
## S3 method for class 'clustering'
plot(x, k, sort = FALSE, xaxis, axes = 1:2,
  pch = 16, ylabh = TRUE, ...)

Arguments

x

a "clustering" object as returned by clusterTimeseries

k

a numeric or string vector indicating the clusterings to be plotted; specifically the column numbers or names in the matrix of clusterings in cset$clusters; if missing all columns will be plotted and the calling code must take care of properly assigning par(mfcol) or layout for the plot

sort

if TRUE and the clustering is yet unsorted a cluster sorting will be calculated based on "ccor" cluster-cluster similarity matrix x$Ccc; see sortClusters

xaxis

optionally x-values to use as x-axis (e.g. to reflect absolute chromosomal coordinates)

axes

list of axes to plot, numbers as used as first argument in function axis

pch

argument pch (symbol) for plot

ylabh

plot "clustering" horizontally at y-axis

...

additional arguments to plot, eg. to set point cex

Value

returns the input "clustering" object with (potentially new) cluster sorting and colors as in shown in the plot


segmenTier documentation built on May 2, 2019, 2:49 p.m.