Description Usage Arguments Value Author(s) Examples
Just as the function ClusterCols
, LabelCols
as its own plotting
function LabelPlot
which plots the dendrogram.
1 |
Data |
The result of a method which contains the dendrogram to be colored. |
Sel1 |
The selection of objects to be colored. |
Sel2 |
An optional second selection to be colored. |
col1 |
The color for the first selection. |
col2 |
The color for the optional second selection. |
... |
Other options which can be given to the plot function. |
A plot of the dendrogram of which the leaves of the selection(s) are colored.
Marijke Van Moerbeke
1 2 3 4 5 6 7 8 9 10 | data(fingerprintMat)
MCF7_F = Cluster(fingerprintMat,type="data",distmeasure="tanimoto",normalize=FALSE,
method=NULL,clust="agnes",linkage="ward",gap=FALSE,maxK=55,StopRange=FALSE)
ClustF_6=cutree(MCF7_F$Clust,6)
SelF=rownames(fingerprintMat)[ClustF_6==6]
SelF
LabelPlot(MCF7_F,Sel1=SelF,Sel2=NULL,col1='darkorchid')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.