Extracts the names of images (and their HistoImage container objects) currently registered in the object.

getImageNames(object, ...)

# S4 method for class 'SPATA2'
getImageNames(object, ref = TRUE, ...)

# S4 method for class 'SpatialData'
getImageNames(object, ref = TRUE, ...)

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.

ref

Logical value. If FALSE, name of the reference image is not included.

Value

Character vector.