Computes the distance from every barcode spot to every other barcode spot.

getBarcodeSpotDistance(
  object,
  unit = "pixel",
  force = FALSE,
  verbose = NULL,
  ...
)

Arguments

object

An object of class spata2.

verbose

Logical. If set to TRUE informative messages regarding the computational progress will be printed.

(Warning messages will always be printed.)

...

Used to absorb deprecated arguments or functions.

Value

If unit is 'pixel' a numeric value that scales the center to center distance of barcode spots to the current image. Else an object of class unit.

Details

The output data.frame has a number of rows that is equal to nBarcodes(object)^2