setImageDir: Set image directory

setImageDirR Documentation

Set image directory

Description

Sets the file directory under which an image is read in when activated.

Usage

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)

Arguments

dir

Character value. The directory of the new image.

Value

The updated input object, containing the added, removed or computed results.

Note

The function also accepts directories that do not exist! It throws a warnign if that is the case.

See Also

activateImage(), loadImage()


theMILOlab/SPATA2 documentation built on Feb. 8, 2025, 11:41 p.m.