getSpatAnnTags.Rd
Extracts all unique tags with which spatial annotations have been tagged.
getSpatAnnTags(object, ...)
# S4 method for class 'SPATA2'
getSpatAnnTags(object, simplify = TRUE)
# S4 method for class 'SpatialData'
getSpatAnnTags(object, simplify = TRUE)
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.
Logical value. If TRUE
, the default, a character vector
of unique tags is returned. If FALSE
, a list of character vectors is returned
named by the spatial annotation to which the tags belong.
Character vector or named list of such.
library(SPATA2)
data("example_data")
object <- loadExampleObject("LMU_MCI")
getSpatAnnTags(object, simplify = FALSE)
getSpatAnnTags(object)