clrob {clusterCons} | R Documentation |
Calculate the cluster robustness from consensus clustering results
Description
This function calculates the cluster robustness from a consmatrix
or mergematrix
class object.
Usage
clrob(x,rm)
Arguments
x |
either a |
rm |
(optional) if a |
Value
Returns a data.frame of the cluster robustness values indexed by cluster number.
Author(s)
Dr. T. Ian Simpson ian.simpson@ed.ac.uk
References
Merged consensus clustering to assess and improve class discovery with microarray data. Simpson TI, Armstrong JD and Jarman AP. BMC Bioinformatics 2010, 11:590.
See Also
Also see cluscomp
, consmatrix
and mergematrix
.
Examples
#load cmr (consensus clustering result produced by cluscomp)
data(testcmr);
#calculate the cluster robustness of the consensus matrix for pam where k=4
clrob(testcmr$e1_kmeans_k4);
#calculate the cluster robustness of the merge matrix in reference
#to the clustering structrure of pam where k=4
clrob(testcmr$merge_k4,testcmr$e1_kmeans_k4@rm);