
spatialNearestNeighbors.Region
spatialNearestNeighbors.Region.RdInternal helper for spatialNearestNeighbors().
Usage
spatialNearestNeighbors.Region(
object,
representation = "spatial",
method = "knn",
k = 5,
eps = 50,
name = NULL,
...
)Arguments
- object
A Region object.
- representation
What Representation to use. Defaults to "spatial"
- method
'knn','frnn','snn', or'del'. Seevignette("Tutorial_Advanced_spatial")for more details.- k
How many nearest neighbors (knn and snn only)
- eps
How large a radius (frnn only)
- name
A custom name for the graph. By default, will be named according to the method and parameter specified (e.g.
spatial_knn_5,spatial_frnn_50,spatial_del)- ...
Additional parameters passed to the NN methods.