ggpLayerImage.Rd
Creates ggplot2 layer with the histology image as a raster annotation.
ggpLayerImage(object = "object")
An object of class spata2
.
ggpLayer*()
-functions return lists of ggproto
objects
that can be added to ggplots via the +
operator. In most of the cases
they are supposed to be added to plots created with the plotSurface*()
family.
The returned list contains an additional ggplot2::geom_point()
layer with invisible barcode spots coordinates (alpha
= 0) to enable the
image plotting.