plot.clustering {segmenTier} | R Documentation |
Plot method for the "clustering" object.
Description
plot the clustering object returned by clusterTimeseries
Usage
## 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
|
k |
a numeric or string vector indicating the clusterings to be plotted;
specifically the column numbers or names in the matrix of clusterings
in |
sort |
if |
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 |
pch |
argument |
ylabh |
plot "clustering" horizontally at y-axis |
... |
additional arguments to plot, eg. to set point |
Value
returns the input "clustering" object with (potentially new) cluster sorting and colors as in shown in the plot