View source: R/helper-functions.R
hlpr_image_add_on | R Documentation |
Provides the image as ggplot background
hlpr_image_add_on(image) hlpr_image_add_on2(object, display_image, of_sample)
image |
Image input. |
object |
A valid spata-object. |
display_image |
Logical value. |
of_sample |
The sample(s) of interest specified as a single character value or vector. If set to "" (the default) the first sample is chosen. |
Either null or a ggplot2::geom_annotation_raster
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.