Learn R Programming

ConsensusClustering (version 1.5.0)

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

Description

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

Usage

coCluster_matrix(X, verbos = TRUE)

Value

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

Arguments

X

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

verbos

binary value for verbosity (default = TRUE)

Details

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

Examples

Run this code
Clustering = cbind(c(1,1,1,2,2,2),
                   c(1,1,2,1,2,2))
coCluster_matrix(Clustering, verbos = FALSE)

Run the code above in your browser using DataLab