getBarcodeSpotDistances: Obtain distances between barcodes

getBarcodeSpotDistancesR Documentation

Obtain distances between barcodes

Description

Obtain distances between barcodes

Usage

getBarcodeSpotDistances(
  object,
  barcodes = NULL,
  unit = "pixel",
  arrange = FALSE,
  verbose = NULL
)

Arguments

object

An object of class SPATA2 or, in case of S4 generics, objects of classes for which a method has been defined.

unit

Character value. Specifies the desired unit in which distance measures or area measures are provided. Run validUnitsOfLength() or validUnitsOfArea() for valid input options.

verbose

Logical. If 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.


theMILOlab/SPATA2 documentation built on Feb. 8, 2025, 11:41 p.m.