Tests if the input object contains an object of class SpatialData.

containsSpatialData(object, error = FALSE)

Arguments

object

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

error

Logical. If TRUE and the input is invalid the function throws an error.

Value

Logical value.