ggpLayerImgAnnRect.Rd
Adds a rectangular to the surface plot that visualizes
the spatial extent of the cropped image section as plotted by
plotImageAnnotations()
.
ggpLayerImgAnnRect(object, ids, expand = "25%", ...)
An object of class spata2
.
Character vector or NULL
. If character, specifies the IDs
of the image annotations of interest. If numeric, the image annotations are picked by number.
If NULL
, all image annotations are included - subsequent selection with tags
and
test
is possible.
Specifies image expansion. An image that is cropped based on an image
annotation centers around the image annotation. If expand = 0
, the default, the dimensions of the image,
that is width/x-axis and height/y-axis, are set to include only the image annotation area
and nothing more. Using expand
, the cropped image section can be adjusted. See section
Expansion of cropped image sections for more information.
Used to absorb deprecated arguments or functions.
A ggplot.