![](../logo.png)
Set spatial network
setSpatialNetwork.Rd
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
See also
Other spatial network data accessor functions:
getSpatialNetwork()
,
get_spatialNetwork()
,
set_spatialNetwork()
Other functions to set data in giotto object:
get_cell_id()
,
get_feat_id()
,
setCellMetadata()
,
setDimReduction()
,
setExpression()
,
setFeatureInfo()
,
setFeatureMetadata()
,
setGiottoImage()
,
setMultiomics()
,
setNearestNetwork()
,
setPolygonInfo()
,
setSpatialEnrichment()
,
setSpatialGrid()
,
setSpatialLocations()
,
set_NearestNetwork()
,
set_cell_id()
,
set_cell_metadata()
,
set_dimReduction()
,
set_expression_values()
,
set_feat_id()
,
set_feature_info()
,
set_feature_metadata()
,
set_giottoImage()
,
set_multiomics()
,
set_polygon_info()
,
set_spatialGrid()
,
set_spatialNetwork()
,
set_spatial_enrichment()
,
set_spatial_locations()