Rename the gene clusters of a ClusterSet.

rename_clust(object, new_names = NULL)

Arguments

object

a ClusterSet object.

new_names

The new names for the clusters.

Examples

# load a dataset
load_example_dataset('7871581/files/pbmc3k_medium_clusters')
new_obj <- rename_clust(pbmc3k_medium_clusters, new_names = letters[1:nclust(pbmc3k_medium_clusters)])