Allows to rename features stored inside the @fdata slot.

renameFeatures(object, ..., of_sample = NA)

Arguments

object

A valid spata-object.

...

The features to be renamed specified according to the following syntax: 'new_feature_name' = 'old_feature_name'.

of_sample

This argument is currently inactive. It might be reactivated when spata-objects can store more than one sample.

Value

An upated spata-object.

Examples

#Not run:

 object <- renameFeatures(object, "seurat_clusters_new" = "seurat_clusters")