Hi group,
I am trying to conduct segmentation with spatial shrunken centroids (SSC) however am consistently met with the following error message. How can I correct this?
set.seed(1)
sag_ssc <- spatialShrunkenCentroids(sag, method="adaptive",r=2, s=c(0,5,10,15,20,25), k=10)
Error: BiocParallel errors
1 remote errors, element index: 1
0 unevaluated and other errors
first remote error:
Error in if (dists[cand] == 0) return(c(NA, NA)): argument is of length zero
Thanks,
Salma