annotateSpatialGrid

annotateSpatialGrid

Description

annotate spatial grid with cell ID and cell metadata (optional)

Usage

annotateSpatialGrid(
  gobject,
  spat_unit = NULL,
  spat_loc_name = "raw",
  spatial_grid_name = "spatial_grid",
  cluster_columns = NULL
)

Arguments

Argument

Description

gobject

Giotto object

spat_unit

spatial unit

spat_loc_name

name of spatial locations

spatial_grid_name

name of spatial grid, see ``showGiottoSpatGrids` <#showgiottospatgrids>`_

cluster_columns

names of cell metadata, see ``pDataDT` <#pdatadt>`_

Value

annotated spatial grid data.table