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

View source: R/basic_functions.R

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


ConsensusClustering documentation built on Sept. 11, 2024, 6:38 p.m.