View source: R/SpatialPCA_utilties.R
louvain_clustering | R Documentation |
This function performs louvain clustering on input low dimensional components.
louvain_clustering(clusternum, latent_dat, knearest = 100)
clusternum |
The desired number of clusters the user wants to obtain. |
latent_dat |
A d by n matrix of low dimensional components, d is number of PCs, n is number of spots. |
knearest |
An integers, number of nearest neighbors for KNN graph construction in louvain clustering. |
The cluster labels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.