containsImage | R Documentation |
Checks if the input object has an image in the respective slot or if the slot is empty.
containsImage(object, ...)
## S4 method for signature 'ANY'
containsImage(object, img_name = activeImage(object), error = FALSE)
## S4 method for signature 'SpatialAnnotation'
containsImage(object, error = FALSE)
## S4 method for signature 'HistoImage'
containsImage(object, error = FALSE)
object |
An object of class |
... |
Used to absorb deprecated arguments or functions. |
img_name |
Character value. The name of the image of interest.
If |
error |
Logical. If |
Logical value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.