Description Usage Arguments Value
View source: R/CoreFunctions.R
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.
1 | calc_consensus(matrix, k)
|
matrix |
a matrix containing clustering solutions in columns |
k |
number of clusters |
consensus matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.