spatShift: Spatially shift an object

spatShiftR Documentation

Spatially shift an object

Description

Shift the spatial locations of an object

Usage

spatShift(x, ...)

## S4 method for signature 'spatLocsObj'
spatShift(x, dx = 0, dy = 0, dz = 0, copy_obj = TRUE, ...)

## S4 method for signature 'spatialNetworkObj'
spatShift(x, dx = 0, dy = 0, dz = 0, copy_obj = TRUE, ...)

Arguments

x

object

...

additional params to pass to methods

dx

numeric. The shift on the x axis

dy

numeric. The shift on the y axis

dz

numeric. The shift on the z axis

copy_obj

Default = TRUE

Methods (by class)

  • spatShift(spatLocsObj): Shift the locations of a spatLocsObj

  • spatShift(spatialNetworkObj): Shift the locations of a spatialNetworkObj


drieslab/Giotto_site_suite documentation built on April 26, 2023, 11:51 p.m.