getBarcodeSpotDistance: Obtain barcode spot distances

View source: R/getA-G.R

getBarcodeSpotDistanceR Documentation

Obtain barcode spot distances

Description

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

Usage

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.

Details

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

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.


kueckelj/SPATA2 documentation built on March 16, 2024, 10:25 a.m.