Description Usage Arguments Value Examples
a setter method which sets/replaces the spatial coordinate in a SpatialExperiment class object.
1 2 | ## S4 replacement method for signature 'SpatialExperiment'
spatialCoords(x) <- value
|
x |
a SpatialExperiment class object |
value |
a DataFrame with the new spatial coordinates to set. |
none
1 2 3 4 5 | example(SpatialExperiment)
fakeFishCoords <- cbind(fishCoordinates[,c(1:3)], fishCoordinates[,3])
colnames(fakeFishCoords) <- c("MyCell_ID", "Irrelevant", "x", "y")
spatialCoords(se) <- fakeFishCoords
spatialCoords(se)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.