Adds a theme to the plot that displays the coordinates of the tissue.

ggpLayerThemeCoords(unit = NULL)

Value

ggpLayer*()-functions return lists of ggproto objects that can be added to ggplots via the + operator. In most of the cases they are supposed to be added to plots created with the plotSurface*() family.

Examples


library(SPATA2)
library(tidyverse)

data("example_data")

object <- loadExampleObject("UKF275T")

plotSurface(object) + ggpLayerThemeCoords()