set_spatial_locations#

Date

2022-10-06

https://github.com/drieslab/Giotto/tree/suite/R/accessors.R#L330

Description#

Function to set a spatial location slot

Usage#

set_spatial_locations(
  gobject,
  spat_unit = NULL,
  spat_loc_name = "raw",
  spatlocs,
  verbose = TRUE
)

Arguments#

Argument

Description

gobject

giotto object

spat_unit

spatial unit (e.g. “cellâ€)

spat_loc_name

name of spatial locations, default “rawâ€

spatlocs

spatial locations

verbose

be verbose

Value#

giotto object

Seealso#

Other spatial location data accessor functions: get_spatial_locations

Other functions to get data from Giotto object:

get_NearestNetwork

get_dimReduction

get_feature_info

get_giottoImage

get_polygon_info

get_spatialGrid

get_spatialNetwork

get_spatial_locations