addHistoImage: Add object of class 'HistoImage'

addHistoImageR Documentation

Add object of class HistoImage

Description

Adds objects of class HistoImage to list of registered histology images. Should only be used within registerHistoImage().

Usage

addHistoImage(object, hist_img, ...)

## S4 method for signature 'SpatialData'
addHistoImage(object, hist_img, overwrite = FALSE)

Arguments

object

An object of class SPATA2 or, in case of S4 generics, objects of classes for which a method has been defined.

hist_img

An object of class HistoImage created with createHistoImage().

...

Used to absorb deprecated arguments or functions.

overwrite

Logical value. Must be TRUE to allow overwriting.

Value

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


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