clustInference,omics_array,numeric-method | R Documentation |
Based on soft clustering performed by the Mfuzz package.
## S4 method for signature 'omics_array,numeric' clustInference(omicsarray, vote.index, new.window = FALSE)
omicsarray |
A omicsarray to cluster |
vote.index |
Option for cluster attribution |
new.window |
Boolean. New X11 window for plots. Defaults to FALSE. |
A list of two elements:
res.matrix |
A data.frame of nrows(omicsarray) observations of 3 variables (name, cluster, maj.vote.index). |
prop.matrix |
Additionnal info. |
Bertrand Frederic, Myriam Maumy-Bertrand.
library(Patterns) if(require(CascadeData)){ data(micro_S, package="CascadeData") D<-Patterns::as.omics_array(micro_S[1:20,],1:4,6) b<-Patterns::clustInference(D,0.5) b }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.