Obtain distances between barcodes

getBarcodeSpotDistances(
  object,
  barcodes = NULL,
  unit = "pixel",
  arrange = 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.)

barcdoes

Character vector or NULL. If character, only input barcodes are considered.

Value

A data.frame in which each observation/row corresponds to a barcodes-spot ~ barcode-spot pair.