addGiottoImageToSpatPlot#
Last Updated: Oct 02, 2023
Description#
Add a giotto image to a spatial ggplot object post creation
Usage#
addGiottoImageToSpatPlot(
spatpl = NULL,
gimage = NULL,
layer = c("bg", "overlay"),
alpha = NULL
)
Arguments#
|
a spatial ggplot object |
|
a giotto image, see
|
|
numeric layer on which to add the giotto image. OR takes ‘bg’ or ‘overlay’ as input to designate last (bottom/background) or first (top/overlay) |
|
(optional) add giotto image to plot with transparency. Numeric. From 0 (transparent) to 1 (fully visible) |
Value#
an updated spatial ggplot object