Learn R Programming

⚠️There's a newer version (2.0) of this package.Take me there.

ReorderCluster (version 1.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

11

Version

1.0

License

GPL (>= 3)

Maintainer

Natalia Novoselova

Last Published

July 23rd, 2014

Functions in ReorderCluster (1.0)

OrderingJosephC

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

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

Real biological dataset to perform the analysis.
testBar

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

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

Simulates the dataset for analysis.
testData2

Simulates the dataset for analysis.
CalcMerge

Forms the binary vector to mark the nodes with identical class labels.
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.
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
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.