Construct a kNN anchor graph and Laplacian
Arguments
- anchors
\(Q \times 3\) matrix of anchor coordinates.
- k
Number of neighbours used in the graph (default 10).
- sigma
Optional Gaussian length-scale (mm). If `NULL`, the `adjoin` defaults are used.
- weight_mode
Edge weighting scheme passed to [adjoin::graph_weights()]. Defaults to `"heat"`.
- type
Graph symmetrisation strategy (see [adjoin::graph_weights()]); `"mutual"` helps enforce symmetry.