Replace column metadata in a spatial object
Examples
spe <- STexampleData::Visium_humanDLPFC()
#> see ?STexampleData and browseVignettes('STexampleData') for documentation
#> loading from cache
metadata <- getMetadata(spe)
metadata$example_column <- seq_len(nrow(metadata))
spe <- setMetadata(spe, metadata)