plot.clustering {sharp} | R Documentation |
Consensus matrix heatmap
Description
Creates a heatmap of the (calibrated) consensus matrix. See examples in
Clustering
.
Usage
## S3 method for class 'clustering'
plot(
x,
linkage = "complete",
argmax_id = NULL,
theta = NULL,
theta_star = NULL,
col = c("ivory", "navajowhite", "tomato", "darkred"),
lines = TRUE,
col.lines = c("blue"),
lwd.lines = 2,
tick = TRUE,
axes = TRUE,
col.axis = NULL,
cex.axis = 1,
xlas = 2,
ylas = 2,
bty = "n",
...
)
Arguments
x |
output of |
linkage |
character string indicating the type of linkage used in
hierarchical clustering to define the stable clusters. Possible values
include |
argmax_id |
optional indices of hyper-parameters. If
|
theta |
optional vector of cluster membership. If provided, the ordering
of the items should be the same as in |
theta_star |
optional vector of true cluster membership. If provided,
the ordering of the items should be the same as in |
col |
vector of colours. |
lines |
logical indicating if lines separating the clusters provided in
|
col.lines |
colour of the lines separating the clusters. |
lwd.lines |
width of the lines separating the clusters. |
tick |
logical indicating if axis tickmarks should be displayed. |
axes |
logical indicating if item labels should be displayed. |
col.axis |
optional vector of cluster colours. |
cex.axis |
font size for axes. |
xlas |
orientation of labels on the x-axis, as |
ylas |
orientation of labels on the y-axis, as |
bty |
character string indicating if the box around the plot should be
drawn. Possible values include: |
... |
additional arguments passed to |
Value
A heatmap.