containsSpatialAnnotations.RdTests if the object contains spatial annotations
as created by createGroupAnnotations createImageAnnotations and
createNumericAnnotations().
containsSpatialAnnotations(object, ...)
# S4 method for class 'SPATA2'
containsSpatialAnnotations(object, error = FALSE)
# S4 method for class 'SpatialData'
containsSpatialAnnotations(object, error = FALSE)An object of class SPATA2 or, in case of S4 generics,
objects of classes for which a method has been defined.
Used to absorb deprecated arguments or functions.
Logical. If TRUE and the input is invalid the
function throws an error.
Logical value.