Extracts unique tissue sections from the metadata of the given object.

getTissueSections(object)

Arguments

object

An object of class SPATA2 or, in case of S4 generics, objects of classes for which a method has been defined.

Value

A character vector of unique tissue sections, excluding "tissue_section_0".

Examples


library(SPATA2)

object <- loadExampleObject("LMU_MCI", process = TRUE)

tissue_sections <- getTissueSections(object)

print(tissue_sections)

plotSurface(object, color_by = "tissue_section")