coCluster_matrix {ConsensusClustering}R Documentation

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)

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).

Value

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

Examples

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


[Package ConsensusClustering version 1.5.0 Index]