| spect_clust_from_adj_mat | R Documentation | 
Spectral clustering from adjacency matrix
spect_clust_from_adj_mat(
  adj.mat,
  k = 2,
  max.eig = 10,
  alpha = 1,
  adj.conv = TRUE,
  do.plot = FALSE
)
| adj.mat | adjacency matrix | 
| k | number of clusters (default=2) | 
| max.eig | maximum number of eigenvectors in use (dafaut = 10). | 
| alpha | soft threshold (considered if  | 
| adj.conv | binary value to apply soft thresholding (default =  | 
| do.plot | binary value to do plot (dafaut =  | 
apply PAM (k-medoids) clustering on the adjacency matrix
vector of clusters
Adj_mat = rbind(c(0.0,0.9,0.0),
                c(0.9,0.0,0.2),
                c(0.0,0.2,0.0))
hir_clust_from_adj_mat(Adj_mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.