View source: R/SpatialPCA_utilties.R
walktrap_clustering | R Documentation |
This function performs walktrap clustering on input low dimensional components.
walktrap_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 SNN graph construction in walktrap clustering. |
The cluster labels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.