You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Some users experienced negative values in knn graph and core shortest path algorithm (Dijkstra) does not operate on
102
+
# negative distance, therefore warning message is implemented, and all non-positive values are aproximated with a zero
103
+
# In addition user can see which cells are involved in negative values pairs and can examine them.
104
+
105
+
if(min(knn) <0){
106
+
warning(paste0("\nSome cell-cell pairs have negative distances. \nIn order for this analysis to proceed, these distances will be aproximated to zero. \nIf substantial number of cells exhibit negative distances\nplease check the original data and examine which cells are causing the issue. \nSome of these cells may be just noise and should be removed"))
0 commit comments