View source: R/spectralClusteringAffinity.R
spectralClusteringAffinity | R Documentation |
Perform spectral clustering algorithms for an affinity matrix, using SNFtool::spectralClustering.
spectralClusteringAffinity(affi_matrix, k, type = 3)
affi_matrix |
A numerical similarity or affinity matrix. |
k |
A number value of clusters |
type |
The variants of spectral clustering to use. See |
A vector consisting of cluster labels of each sample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.