addGiottoImageToSpatPlot | R Documentation |
Add a giotto image to a spatial ggplot object post creation
addGiottoImageToSpatPlot(
spatpl = NULL,
gimage = NULL,
layer = c("bg", "overlay"),
alpha = NULL
)
spatpl |
a spatial ggplot object |
gimage |
a giotto image, see |
layer |
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) |
alpha |
(optional) add giotto image to plot with transparency. Numeric. From 0 (transparent) to 1 (fully visible) |
an updated spatial ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.