Open Blackshoots opened 1 year ago
Hello, I'm having the same problem, is there a solution yet? I hope I can get your help, thanks!
@Hui-Se @13198910213 You cannot directly use the scale factor from the Seurat object because the cortex@images$anterior1@scale.factors$spot is not the same meaning as the one in CellChat. In Seurat, the value of cortex@images$anterior1@scale.factors$spot is the same as the value of cortex@images$anterior1@scale.factors$hires, which is not correct.
Hello, I have recently encountered a problem that when I followed the tutorial to run computeCommunProb it showed that
The suggested minimum value of scaled distances is in [1,2], and the calculated value here is Inf
. In that way, the slotnet$count
in cellchat object shows all zero values which originate from Inf distance. I have seen source code and found the adjacancy matrix can hardly get edge 1 leading to Inf distance matrix.cortex from Seurat tutorial Analysis, visualization, and integration of spatial datasets with Seurat