calc_consensus: Calculate consensus matrix2

Description Usage Arguments Value

View source: R/CoreFunctions.R

Description

For each clustering solution 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

1

Arguments

matrix

a matrix containing clustering solutions in columns

k

number of clusters

Value

consensus matrix


brickyyyy/MinimizedSC3 documentation built on May 23, 2019, 1:45 p.m.