Annotate Spatial Grid

annotateSpatialGrid()

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

annotateSpatialGrid(
    gobject,
    spatial_grid_name = "spatial_grid",
    cluster_columns = NULL
)

Arguments

gobject

Giotto object

spatial_grid_name

name of spatial grid, see showGrids()

cluster_columns

names of cell metadata, see pDataDT()

Value

An annotated spatial grid data.table.