setImageAnnotation: Set image annotations

View source: R/setA-Z.R

setImageAnnotationR Documentation

Set image annotations

Description

Sets image annotations in the correct slot.

Usage

setImageAnnotation(object, img_ann, align = TRUE, overwrite = FALSE)

setImageAnnotations(object, img_anns, align = TRUE, overwrite = FALSE)

Arguments

object

An object of class spata2.

img_ann

An object of class ImageAnnotation.

align

Logical value. If TRUE, image annotations are aligned with image justification changes of the image of the SPATA2 object.

overwrite

Logical value. Must be TRUE to allow overwriting.

img_anns

List of objects of class ImageAnnotation.


kueckelj/SPATA2 documentation built on March 16, 2024, 10:25 a.m.