shift_spatial_locations: Shift spatial locations

View source: R/giotto.R

shift_spatial_locationsR Documentation

Shift spatial locations

Description

Shift given coordinates by given translation values

Usage

shift_spatial_locations(
  spatlocs,
  dx = 0,
  dy = 0,
  dz = 0,
  xtranslate = NULL,
  ytranslate = NULL,
  ztranslate = NULL,
  copy_obj = TRUE
)

Arguments

spatlocs

spatial locations to use

dx

value to shift coordinates in the positive x direction

dy

value to shift coordinates in the positive y direction

dz

value to shift coordinates in the positive z direction

xtranslate

deprecated. use dx

ytranslate

deprecated. use dy

ztranslate

deprecated. use dz

copy_obj

copy/duplicate object (default = TRUE)


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