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/scigenex documentation built on Dec. 20, 2024, 2:22 a.m.