Description Usage Arguments Value References Examples
View source: R/clust_functions.R
This function implements spectral clustering algorithm.
It conducts k-means on top k left singular vectors of the data matrix.
1 | SpectralClustering(data, num_clusters)
|
data |
matrix. Input data matrix for clustering. |
num_clusters |
int. Number of clusters. |
A vector containing the cluster assignment after iterations.
T. Liu, Y. Lu, B. Zhu, H. Zhao (2021). High-dimensional Clustering via Feature Selection with Applications to Single Cell RNA-seq Data.
1 2 | synthetic_data <- GenerateSyntheticData(n=10, p=10, s=5, k=2, signal_strength=1, noise_type="gaussian")
label.est <- SpectralClustering(synthetic_data$data, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.