R/03_NB_based_cell_comparison.R
nbCluster.RdUse model based clustering on single-cell neighbour composition to define cellular clusters
nbCluster(seurat = NULL, n_clust = 3:12, seed = 347548)a Seurat object containing Kandinsky data (KanData())
numeric vector indicating the possible niche numbers to be tested to find the optimal number
numeric, random seed for reproducibility. Default is set to 347548
Seurat object with new nbClust_ variable column stored in the Seurat meta.data
cellcharter_clust(), mesa_clust(), spatialleiden_clust(), spatopic_clust(), kmeans_clust(), giotto_clust(), hoodscanR_clust() for alternative clustering methods