createSpatialTrajectories: Create and add spatial trajectories interactively

createSpatialTrajectoriesR Documentation

Create and add spatial trajectories interactively

Description

Opens an interface in which the user can interactively draw spatial trajectories on the surface of the sample.

Usage

createSpatialTrajectories(object)

Arguments

object

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

See Also

addSpatialTrajectories()

Examples


library(SPATA2)
library(tidyverse)

data("example_data")

object <- example_data$object_UKF275T_diet

object <- createSpatialTrajectories(object)


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