plotImageBase.Rd
Plots the histology image as a raster.
plotImageBase(object, ...)
# S4 method for class 'SPATA2'
plotImageBase(object, xrange = NULL, yrange = NULL, axes = FALSE, ...)
# S4 method for class 'SpatialData'
plotImageBase(
object,
img_name = activeImage(object),
xrange = NULL,
yrange = NULL,
scale_fct = 1,
axes = TRUE,
...
)
# S4 method for class 'HistoImage'
plotImageBase(
object,
img_name = activeImage(object),
xrange = NULL,
yrange = NULL,
scale_fct = 1,
axes = TRUE,
...
)
# S4 method for class 'Image'
plotImageBase(
object,
scale_fct = 1,
xrange = NULL,
yrange = NULL,
axes = TRUE,
...
)
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.
Distance vector of length
two or NULL
. If not NULL
, specifies the x- and y-range to which
the spatial output is cropped. E.g. xrange = c(200, 500)
results in
the two dimensional space being cropped from x-coordinate 200px up to
x-coordinate 500px. If NULL
, the original range is used.
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()
.
A plot that is immediately plotted.