Learn R Programming

SC3 (version 1.1.4)

consensus_matrix: Calculate consensus matrix

Description

Consensus matrix is calculated using the Cluster-based Similarity Partitioning Algorithm (CSPA). For each clustering result a binary similarity matrix is constructed from the corresponding cell labels: if two cells belong to the same cluster, their similarity is 1, otherwise the similarity is 0. A consensus matrix is calculated by averaging all similarity matrices.

Usage

consensus_matrix(clusts)

Arguments

clusts
a list clustering labels (separated by a space)

Value

consensus matrix