registerImage | R Documentation |
Use registerImage()
to add a new image in form of a HistoImage
to the object.
Use removeImage()
to savely discard images and their HistoImage
container
that are no longer needed.
Do not confuse with loadImage()
and unloadImage()
.
registerImage(object, ...)
## S4 method for signature 'SPATA2'
registerImage(
object,
img_name,
img = NULL,
dir = NULL,
unload = TRUE,
resize_fct = NULL,
process = FALSE,
overwrite = FALSE,
verbose = TRUE
)
## S4 method for signature 'SpatialData'
registerImage(
object,
img_name,
img = NULL,
dir = NULL,
unload = FALSE,
resize_fct = NULL,
process = FALSE,
overwrite = FALSE,
verbose = TRUE
)
removeImage(object, ...)
## S4 method for signature 'SPATA2'
removeImage(object, img_name)
## S4 method for signature 'SpatialData'
removeImage(object, img_name)
object |
An object of class |
... |
Used to absorb deprecated arguments or functions. |
img_name |
Character value. The image to remove. Must neither be the active nor the reference image. |
img |
An image. Must be usable with |
dir |
Character value. The directory from where to retrieve the image. |
resize_fct |
Numeric value or |
overwrite |
Logical value. Must be |
verbose |
Logical. If (Warning messages will always be printed.) |
The updated input object, containing the added, removed or computed results.
Extensive tutorials for how to use this function can be found on our website https://themilolab.github.io/SPATA2/ .
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.