Create a spatial grid using the default method
createSpatialDefaultGrid(
gobject,
sdimx_stepsize = NULL,
sdimy_stepsize = NULL,
sdimz_stepsize = NULL,
minimum_padding = 1,
name = NULL,
return_gobject = TRUE
)
giotto object
stepsize along the x-axis
stepsize along the y-axis
stepsize along the z-axis
minimum padding on the edges
name for spatial grid (default = 'spatial_grid')
boolean: return giotto object (default = TRUE)
giotto object with updated spatial grid slot
Creates a spatial grid with defined x, y (and z) dimensions. The dimension units are based on the provided spatial location units.