Extracts the center to center distance from barcode-spots depending on the method used.

getCCD(object, ...)

# S4 method for class 'SPATA2'
getCCD(object, unit = NULL, as_numeric = FALSE, round = FALSE)

# S4 method for class 'SpatialData'
getCCD(object, unit = NULL, as_numeric = FALSE, round = FALSE)

Arguments

object

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

...

Used to absorb deprecated arguments or functions.

unit

Character value or NULL. If character, specifies the unit in which the distance is supposed to be returned. Use validUnitsOfLength() to obtain all valid input options.

Value

Character value.