renameSpatialAnnotation | R Documentation |
Renames spatial annotation.
renameSpatialAnnotation(object, id, new_id, overwrite = FALSE)
object |
An object of class |
id |
Character value. The current ID of the spatial annotation to be renamed. |
new_id |
Character value. The new ID of the spatial annotation. |
overwrite |
Logical value. Must be |
inherit |
argument_dummy params |
library(SPATA2)
data("example_data")
object <- example_data$object_UKF313T_diet
plotSpatialAnnotations(object)
object <- renameSpatialAnnotation(object, id = "necrotic_area", new_id = "Necrotic_Area_Cap")
plotSpatialAnnotations(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.