Adds specific image directories beyond lowres highres and default with a simple name.

addImageDir(object, dir, name, check = TRUE, overwrite = FALSE, verbose = NULL)

Arguments

object

An object of class spata2.

dir

Character value. Directory to specific image. Should end with either .png, .jpeg or .tiff. (Capital endings work, too.)

name

Character value. Name with which to refer to this image.

overwrite

Logical value. Must be TRUE to allow overwriting.

verbose

Logical. If set to TRUE informative messages regarding the computational progress will be printed.

(Warning messages will always be printed.)

Value

The input spata2 object containing the added or computed results.