rename_clust-ClusterSet-method: Rename the gene clusters of a ClusterSet

rename_clust,ClusterSet-methodR Documentation

Rename the gene clusters of a ClusterSet

Description

Rename the gene clusters of a ClusterSet.

Usage

## S4 method for signature '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)])

dputhier/dbfmcl documentation built on May 31, 2024, 8:57 a.m.