renameMetaFeatures.Rd
Allows to rename features stored inside the @fdata slot.
renameMetaFeatures(object, ...)
An upated spata-object.
library(SPATA2)
data("example_data")
object <- example_data$object_UKF269T_diet
getFeatureNames(object)
object <- renameMetaFeatures(object, "histology_new" = "histology")
getFeatureNames(object)
plotSurface(object, color_by = "histology") # fails
potSurface(object, color_by = "histology_new")