Use hoodscanR package to do the neighborhoods analysis.
neighborhoodsAna(seu, k = 25, anno_col = "celltype_first", clusterK = 12, ...)
A Seurat object
The maximum number of nearest cells to compute. See findNearCells.
Character vector. The name of annotation column to use. See findNearCells.
The number of clusters for clustByHood
Other parameters used by clustByHood except 'object', 'pm_cols' and 'k'.