| setSpatialLocations | R Documentation |
Function to set a spatial location slot
setSpatialLocations(
gobject,
x,
spat_unit = NULL,
name = "raw",
provenance = NULL,
verbose = TRUE,
initialize = TRUE
)
gobject |
giotto object |
x |
spatLocsObj or list of spatLocsObj. Passing NULL will remove a specified set of spatial locations data. |
spat_unit |
spatial unit (e.g. "cell") |
name |
name of spatial locations, default "raw" |
provenance |
provenance information (optional) |
verbose |
be verbose |
initialize |
(default = FALSE) whether to initialize the gobject before returning |
Spatial information will be set to the nested location described by their tagged spat_unit and name information. An alternative location can also be specified through the respective params in this function.
giotto object
Other spatial location data accessor functions:
getSpatialLocations(),
get_spatial_locations(),
set_spatial_locations()
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(),
setSpatialNetwork(),
set_NearestNetwork(),
set_cell_id(),
set_cell_metadata(),
set_dimReduction(),
set_expression_values(),
set_feat_id(),
set_feature_info(),
set_giottoImage(),
set_multiomics(),
set_polygon_info(),
set_spatialGrid(),
set_spatialNetwork(),
set_spatial_enrichment(),
set_spatial_locations()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.