| updateObject | R Documentation |
Update a SpatialFeatureExperiment to the latest version of object structure. This is usually called by internal functions.
## S4 method for signature 'SpatialFeatureExperiment'
updateObject(object, ..., verbose = FALSE)
SFEVersion(object)
object |
An old SpatialFeatureExperiment object. |
... |
Additional arguments that are ignored. |
verbose |
Logical scalar indicating whether a message should be emitted as the object is updated. |
Version 1.1.4 adds package version to the SFE object. We are considering an
overhaul of the spatialGraphs slot in a future version using the
sfdep package to decouple the adjacency graph from the edge weights.
An updated version of object.
objectVersion, which is used to determine if the
object is up-to-date.
library(SFEData)
sfe <- McKellarMuscleData("small")
# First version of SFE object doesn't log SFE package version, so should be NULL
SFEVersion(sfe)
sfe <- updateObject(sfe)
# See current version
SFEVersion(sfe)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.