# NOT RUN {
#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);
# }
Run the code above in your browser using DataLab