reorder_clust: Reorder the clusters from a ClusterSet

reorder_clustR Documentation

Reorder the clusters from a ClusterSet

Description

Reorder the clusters from a ClusterSet based on their names

Usage

reorder_clust(object, new_order = NULL)

Arguments

object

a ClusterSet object.

new_order

The names from the clusterSet in an alternative order.

Examples

# load a dataset
load_example_dataset('7871581/files/pbmc3k_medium_clusters')
clust_size(pbmc3k_medium_clusters)
new_obj <- reorder_clust(pbmc3k_medium_clusters, new_order = 15:1)
clust_size(pbmc3k_medium_clusters)

dputhier/scigenex documentation built on May 31, 2024, 8:59 a.m.