Skip to contents

Function to create a fixed radius nearest neighbor graph, implemented with DBSCAN

Usage

createFixedRadiusNNGraph.Region(
  object,
  eps,
  representation = "spatial",
  query = NULL,
  name = NULL,
  ...
)

Arguments

object

A Region object

eps

The radius

representation

The name of the representation, with associated cell embeddings, to be used to compute the frNN graph

query

Optional: another dataset to compute neighbors with

name

The NN graph name.

...

Additional arguments passed to dbscan::frNN()

Details

Fixed-radius nearest neighbor graphs compute all the edges for each node within a certain distance radius. Thus, unlike K nearest neighbors, each node can have a variable number of neighbors.

Scroll to top