Extracts the frame in which data points are expected.

getCaptureArea(object, ...)

# S4 method for class 'SPATA2'
getCaptureArea(object, img_name = activeImage(object), ...)

# S4 method for class 'SpatialData'
getCaptureArea(object, img_name = activeImage(object), ...)

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.

img_name

Character value. The name of the image of interest. If NULL, the active image is chosen by default. Either way, must be one of getImageNames().

Value

List of two length two vectors named x and y. Values correspond to the range of the capture area along the respective axis.

See also