nSpatialAnnotations.RdReturns the number of SpatialAnnotation objects in the sample.
nSpatialAnnotations(object, ...)
# S4 method for class 'SPATA2'
nSpatialAnnotations(object)
# S4 method for class 'SpatialData'
nSpatialAnnotations(object)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.
Numeric value.