ggpLayerThemeCoords: Add coordinates theme

View source: R/g.R

ggpLayerThemeCoordsR Documentation

Add coordinates theme

Description

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

Usage

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()


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