Open drighelli opened 5 months ago
Hi Dario, BayesSpace uses both the array and pixel coordinates to find neighbors. Array coordinates go to row/col and pixel coordinages go to imagerow/imagecol.
Hello,
Thanks for the great package. I ran to the same of identifying 0 neighbors of #spots when analysing non-commercial ST technology. I overcame this issue by changing the ratio in the coordinate system (e.g. sce.spatial$row <- (sce.spatial$y_coord / 40) %>% round()
), followed by screening for the number of neighboring spots with the find_neighbors()
function.
Best, Daniel
Hi Dario, BayesSpace uses both the array and pixel coordinates to find neighbors. Array coordinates go to row/col and pixel coordinages go to imagerow/imagecol.
Hi, I tried both, but still Neighbors were identified for 0 out of 2488 spots
, My neighouring radius is sqrt(9000).
Hi,
I'm trying to apply your method to some Visium datasets, but it always says returns 0 neighbours out of #spots.
There it is a reproducible example:
Any clues on how to fix this?
Thank you in advance!
Dario