createSpatialDefaultGrid#
Last Updated: Oct 02, 2023
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#
|
giotto object |
|
spatial unit |
|
feature type |
|
spatial location name |
|
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) |
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