setImageDir.Rd
Sets the file directory under which an image is read in when activated.
setImageDir(object, ...)
# S4 method for class 'SPATA2'
setImageDir(object, img_name, dir)
# S4 method for class 'SpatialData'
setImageDir(object, img_name, dir)
# S4 method for class 'HistoImage'
setImageDir(object, dir)
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.