nSpatialAnnotations: Number of spatial annotations

nSpatialAnnotationsR Documentation

Number of spatial annotations

Description

Returns the number of SpatialAnnotation objects in the sample.

Usage

nSpatialAnnotations(object, ...)

## S4 method for signature 'SPATA2'
nSpatialAnnotations(object)

## S4 method for signature 'SpatialData'
nSpatialAnnotations(object)

Arguments

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.

Value

Numeric value.


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