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
#' 'Q': queen contiguity method,check for contact (not overlap) between any edge or side od two polygons (refers to the queen movement rule in chess). Currently only applicable for Visium/Visium-HD data
535
535
#' 'C': centroid-based method, use maximum centroid distance threshold to identify spot/cell neighbours
536
+
#' 'D': Delaunay triangulation method
536
537
#' 'K': KNN method, define k closest neighbours to each spot/cell
537
538
#' 'M': membrane-based method, check for the occurrence of a physical contact/intersection within a distance threshold between cell boundaries. Not applicable in the case of Visium spots.
538
539
#' @param k numeric, number of nearest neighbours to be set when `nb.method = K`
539
540
#' @param d.max numeric, maximum centroid distance threshold to be set when `nb.method = C | M`
540
-
#' @param hd.snap numeric, scaling factor used on minimal distance between Visium-HD bins to define neighbour relationships. Only Applied when `nb.method = Q`. Higher `hd.snap` values will give lower distance thresholds.
541
+
#' @param soi boolean, whether or not filter Delaunay network to keep sphere of influence (SOI) graph. Default is FALSE
542
+
#' @param layers numeric, number of concentric contiguous layers to include in spot neighbourhood. Only Applied when `nb.method = Q`. Default is 1
541
543
#' @param ids_other character string specifying variable name to be used as cell identifiers when argument tech is set to "other"
542
544
#' @param xcoord_other character string specifying variable name to be used as x coordinates when argument tech is set to "other"
543
545
#' @param ycoord_other character string specifying variable name to be used as y coordinates when argument tech is set to "other"
stop('For Visium/Visium-HD data, only the following neighbour methods can be selected: Q(Queen), C(centroid distance), K(K-nearest neighbour),D(Delaunay triangulation)')
0 commit comments