setImageDir | R Documentation |
Sets the file directory under which an image is read in when activated.
setImageDir(object, ...)
## S4 method for signature 'SPATA2'
setImageDir(object, img_name, dir)
## S4 method for signature 'SpatialData'
setImageDir(object, img_name, dir)
## S4 method for signature 'HistoImage'
setImageDir(object, dir)
dir |
Character value. The directory of the new image. |
The updated input object, containing the added, removed or computed results.
The function also accepts directories that do not exist! It throws a warnign if that is the case.
activateImage()
, loadImage()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.