Skip to contents

Function to set a spatial network

Usage

setSpatialNetwork(
  gobject,
  x,
  spat_unit = NULL,
  name = NULL,
  provenance = NULL,
  verbose = TRUE,
  initialize = TRUE
)

Arguments

gobject

giotto object

x

spatialNetworkObj or list of spatialNetworkObj to set. Passing NULL removes a specified set of spatial network information from the gobject.

spat_unit

spatial unit (e.g. "cell")

name

name of spatial network

provenance

provenance name

verbose

be verbose

initialize

(default = FALSE) whether to initialize the gobject before returning

Value

giotto object