Skip to contents

Function to set a spatial network

Usage

set_spatialNetwork(
  gobject,
  spatial_network,
  spat_unit = NULL,
  name = NULL,
  provenance = NULL,
  verbose = TRUE,
  set_defaults = TRUE,
  initialize = FALSE
)

Arguments

gobject

giotto object

spatial_network

spatial network

spat_unit

spatial unit (e.g. "cell")

name

name of spatial network

provenance

provenance name

verbose

be verbose

set_defaults

set default spat_unit and feat_type. Change to FALSE only when expression and spat_info are not expected to exist.

initialize

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

Value

giotto object