vampire.analysis.reorder_clusters#

vampire.analysis.reorder_clusters(cluster_id, object_index)[source]#

Reorder cluster id according to dendrogram order.

Parameters:
cluster_idndarray

Cluster ids.

object_indexndarray

How original cluster id correspond to new id.

Returns:
cluster_id_sortedndarray

Reordered cluster id.