createSpatialGrid: createSpatialGrid

Description Usage Arguments Details Value

Description

Create a spatial grid using the default method

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
createSpatialGrid(
  gobject,
  name = NULL,
  method = c("default"),
  sdimx_stepsize = NULL,
  sdimy_stepsize = NULL,
  sdimz_stepsize = NULL,
  minimum_padding = 1,
  return_gobject = TRUE
)

Arguments

gobject

giotto object

name

name for spatial grid

method

method to create a spatial grid

sdimx_stepsize

stepsize along the x-axis

sdimy_stepsize

stepsize along the y-axis

sdimz_stepsize

stepsize along the z-axis

minimum_padding

minimum padding on the edges

return_gobject

boolean: return giotto object (default = TRUE)

Details

Creates a spatial grid with defined x, y (and z) dimensions. The dimension units are based on the provided spatial location units.

Value

giotto object with updated spatial grid slot


bernard2012/Giotto documentation built on Sept. 22, 2020, 10:29 a.m.