containsMethod: Check availability of specific spatial methods (platforms)

containsMethodR Documentation

Check availability of specific spatial methods (platforms)

Description

Tests if the input object is associated with specific spatial methods / platforms.

Usage

containsMethod(object, ...)

## S4 method for signature 'SPATA2'
containsMethod(object, method_name, error = FALSE)

## S4 method for signature 'SpatialData'
containsMethod(object, method_name, 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.

...

Used to absorb deprecated arguments or functions.

method_name

Character vector. The names of platforms to check.

error

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

Value

Logical value. TRUE if any of method_name is the name of the platform.


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