Usage
clustering.plot(tree, tree.sup, data, lab, lab.sup,
dendro=TRUE, dendro.sup=TRUE, title="", scale="row", heatcol,
names=TRUE, names.sup=TRUE, names.dist=TRUE,
trim.heatmap=1, palette="rainbow", legend=TRUE, legend.pos="topright", ...)
Arguments
tree
an object of class 'agnes' representing the first clustering.
tree.sup
optional - an object of class 'agnes' representing the second clustering.
data
optional - expression data for the heatmap plot
lab
optional - a matrix or data.frame of labels for 'tree' (by columns)
lab.sup
optional - a matrix or data.frame of labels for 'tree.sup' (by columns)
dendro
display dendrogram of tree object - The default is TRUE
dendro.sup
display dendogram of tree.sup object - The default is TRUE
title
optional - title of the graphic
scale
optional - character indicating if the values should be
centered and scaled in either the row direction (gene) or the column
direction (sample),or none. The default is '"row"'
heatcol
colors for the heatmap generated by myPalette
names
optional - if names=FALSE, the labels for 'tree' are not written - The default is TRUE
names.sup
optional - if names.sup=FALSE, the labels for 'tree.sup' are not written - The default is TRUE
names.dist
Display the distance used for the Hierachical Clustering - The default is TRUE
trim.heatmap
Percentile of the data to be trimmed. This helps to keep an informative color scale in the heatmap
palette
Palette used for color selection. see as.colors()
legend
Draw legend of the labels. Default is TRUE
legend.pos
Position of the legend (topright, topleft,
bottomright, bottomleft). Default is topright
...
Arguments to be passed to methods, such as graphical parameters (see 'par').