View source: R/basic_functions.R

coCluster_matrix | R Documentation |

Calculate the Co-cluster matrix for a given set of clustering results.

```
coCluster_matrix(X, verbos = TRUE)
```

`X` |
clustering matrix of Nsamples x Nclusterings. Zero elements are are considered as unclustered samples |

`verbos` |
binary value for verbosity (default = |

Co-cluster matrix or consensus matrix (CM) is a method for consensus mechanism explaned in Monti et al. (2003).

The normalized matrix of Co-cluster frequency of any pairs of samples (Nsamples x Nsamples)

```
Clustering = cbind(c(1,1,1,2,2,2),
c(1,1,2,1,2,2))
coCluster_matrix(Clustering, verbos = FALSE)
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.