createSpatialGrid#
Last Updated: Jan 14, 2025
Description#
Create a spatial grid using the default method
Usage#
createSpatialGrid(
gobject,
spat_unit = NULL,
spat_loc_name = "raw",
name = NULL,
method = c("default"),
sdimx_stepsize = NULL,
sdimy_stepsize = NULL,
sdimz_stepsize = NULL,
minimum_padding = 1,
return_gobject = TRUE
)
Arguments#
|
giotto object |
|
spatial unit |
|
spatial location name |
|
name for spatial grid |
|
method to create a spatial grid |
|
stepsize along the x-axis |
|
stepsize along the y-axis |
|
stepsize along the z-axis |
|
minimum padding on the edges |
|
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.
default method:
createSpatialDefaultGrid
Value#
giotto object with updated spatial grid slot