indicator_matrix {ConsensusClustering}R Documentation

Build indicator matrix

Description

Build indicator matrix

Usage

indicator_matrix(clusters)

Arguments

clusters

a vector of clusterings. Zero elements mean that the sample was absent during clustering

Details

Indicator matrix (I) is a binary matrix N-by-N I[i,j] = 1 if sample i and j co-exist for clustering ref: Monti et al. (2003) "Consensus Clustering: A Resampling-Based Method for Class Discovery and Visualization of Gene Expression Microarray Data", Machine Learning

Value

Indicator matrix

Examples

ind_mat = indicator_matrix(c(1,1,1,0,0,1))


[Package ConsensusClustering version 1.2.0 Index]