renameFeatures: Rename features

View source: R/r.R

renameFeaturesR Documentation

Rename features

Description

Allows to rename features stored inside the @fdata slot.

Usage

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")


kueckelj/SPATA2 documentation built on March 16, 2024, 10:25 a.m.