View source: R/locate_images.R
locate_images | R Documentation |
Creates a named character()
vector that can be helpful for locating
image files and used with add_images()
. This function is not necessary if
the image files don't use the spe$sample_id
.
locate_images(spe, image_dir, image_pattern)
spe |
A
SpatialExperiment-class
object. See |
image_dir |
A |
image_pattern |
A |
A named character()
vector with the path to images.
Other Functions for adding non-standard images:
add_images()
## Not run:
locate_images(spe, tempdir(), "testImage")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.