getPlatform: Obtain platform name

getPlatformR Documentation

Obtain platform name

Description

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

Usage

getPlatform(object, ...)

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

## S4 method for signature '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)


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