addGiottoImageToSpatPlot
¶
addGiottoImageToSpatPlot
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¶
Argument |
Description |
---|---|
|
a spatial ggplot object |
|
a giotto image, see ``createGiottoImage` <#creategiottoimage>`_ |
|
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