unloadImage.RdRemoves the image from slot @image of a HistoImage.
Useful for efficient data storing.
Not to be confused with removeImage()!
unloadImage(object, ...)
# S4 method for class 'SPATA2'
unloadImage(object, img_name = activeImage(object), verbose = NULL, ...)
# S4 method for class 'SpatialData'
unloadImage(object, img_name, verbose = TRUE, ...)
# S4 method for class 'HistoImage'
unloadImage(object, verbose = TRUE, ...)
unloadImages(object, ...)
# S4 method for class 'SPATA2'
unloadImages(object, active = FALSE, verbose = TRUE)
# S4 method for class 'SpatialData'
unloadImages(object, active = FALSE, verbose = TRUE)An object of class SPATA2 or, in case of S4 generics,
objects of classes for which a method has been defined.
Used to absorb deprecated arguments or functions.
Character value. The name of the image to unload.
Logical. If TRUE, informative messages regarding
the computational progress will be printed.
(Warning messages will always be printed.)
Logical value. If FALSE, the default,
the image from the active HistoImage is not unloaded.
The updated input object, containing the added, removed or computed results.