Generic function to retrieve the platform information from the object - the name of it's spatial method.

getPlatform(object, ...)

# S4 method for class 'SPATA2'
getPlatform(object, ...)

# S4 method for class 'SpatialData'
getPlatform(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

A character string representing the platform information.

Examples


library(SPATA2)
library(SPATAData)

# VisiumSmall
object <- loadExampleData("UKF313T")
getPlatform(object)

# VisiumLarge
object <- downloadSpataObject("HumanKidneyVL")
getPlatform(object)