View source: R/coordinateGeneration.R
moveCoords | R Documentation |
If generated coordinates do not match the image use this function to move coordinates. Coordinates are only changed 1 pixel at a time.
moveCoords(overlay, direction = "right")
overlay |
SpatialOverlay object |
direction |
which direction should coordinates move: left, right, up, down |
SpatialOverlay object
muBrain <- readRDS(unzip(system.file("extdata", "muBrainSubset_SpatialOverlay.zip",
package = "SpatialOmicsOverlay")))
head(coords(muBrain), 3)
head(coords(moveCoords(muBrain, direction = "up")), 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.