createSpatialDefaultGrid#

Last Updated: Jan 29, 2024

Description#

Create a spatial grid using the default method

Usage#

createSpatialDefaultGrid(
  gobject,
  spat_unit = NULL,
  feat_type = NULL,
  spat_loc_name = "raw",
  sdimx_stepsize = NULL,
  sdimy_stepsize = NULL,
  sdimz_stepsize = NULL,
  minimum_padding = 1,
  name = NULL,
  return_gobject = TRUE
)

Arguments#

gobject

giotto object

spat_unit

spatial unit

feat_type

feature type

spat_loc_name

spatial location name

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

name

name for spatial grid (default = ‘spatial_grid’)

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