plot the clustering object returned by clusterTimeseries
# S3 method for clustering
plot(x, k, sort = FALSE, xaxis, axes = 1:2,
pch = 16, ylabh = TRUE, ...)
a "clustering" object as returned by
clusterTimeseries
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
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
optionally x-values to use as x-axis (e.g. to reflect absolute chromosomal coordinates)
list of axes to plot, numbers as used as first argument
in function axis
argument pch
(symbol) for plot
plot "clustering" horizontally at y-axis
additional arguments to plot, eg. to set point cex
returns the input "clustering" object with (potentially new) cluster sorting and colors as in shown in the plot