memrob | R Documentation |
This function calculates the membership robustness from a consmatrix
or mergematrix
class object.
memrob(x,rm)
x |
either a |
rm |
(optional) if a |
Returns a list of memroblist
class objects, one for each cluster, and the full membership robustness matrix as a memrobmatrix
class object.
Dr. T. Ian Simpson ian.simpson@ed.ac.uk
Merged consensus clustering to assess and improve class discovery with microarray data. Simpson TI, Armstrong JD and Jarman AP. BMC Bioinformatics 2010, 11:590.
Also see cluscomp
, consmatrix
and mergematrix
.
#load cmr (consensus clustering result produced by cluscomp) data(testcmr); #calculate the cluster robustness of the consensus matrix for pam where k=4 mr1 <- memrob(testcmr$e1_kmeans_k4); #show the membership robustness of cluster 1 mr1$cluster1; #calculate the cluster robustness of the merge matrix in reference #to the clustering structure of pam where k=4 mr2 <- memrob(testcmr$merge_k4,testcmr$e1_kmeans_k4@rm); #plot a heatmap of the full membership robustness matrix heatmap(mr2$resultmatrix@mrm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.