Learn R Programming

ReorderCluster (version 2.0)

Reordering the Dendrogram According to the Class Labels

Description

Tools for performing the leaf reordering for the dendrogram that preserves the hierarchical clustering result and at the same time tries to group instances from the same class together.

Copy Link

Version

Install

install.packages('ReorderCluster')

Monthly Downloads

33

Version

2.0

License

GPL (>= 3)

Last Published

June 21st, 2022

Functions in ReorderCluster (2.0)

funMerge

Recover the optimal sequence of leaves in the hierarchical tree according to available class labels.
CalcMerge

Forms the binary vector to mark the nodes with identical class labels.
RearrangeJoseph

Makes the initialization of auxiliary matrices and calls to sequence of functions to perform the reordering of the elements (leaves) of the hierarchical tree according to class labels of the data objects.
leukemia72

Real biological dataset to perform the analysis.
SubTree

Simplifies the initial hierarchical tree by reducing the number of nodes. Constructs the new merging matrix with some inner nodes substituted by one element from the coressponding subtree.
colorDendClass

Makes the plot of the dendrogram, visualizing the class label information with different colors of dendrogram edges.
RearrangeData

Sample function to perform optimal reordering of the hierarchical tree according to class labels
OrderingJoseph

Makes the calculation of the evaluation function for each subtree of the hierarchical tree using the dynamic programming approach
ReorderCluster-package

optimal reordering of the hierarchical tree according to class labels
OrderingJosephC

Makes the calculation of the evaluation function for each subtree of the hierarchical tree using the dynamic programming approach (C++ version)
testData1

Simulates the dataset for analysis.
testBar

For each node (subtree) of the hierarchical tree forms two vectors, consisting of elements of its left and write subtrees.
leukemia

Real biological dataset to perform the analysis.
testData2

Simulates the dataset for analysis.