Description Usage Arguments Details Value Author(s) References See Also Examples
score.it
computes the value of the scoring function based on
information theory and the mutual information shared by a dendrogram and
the flat clustering which is compared to, for both the parent-tree and the
children-tree; the children-tree consists of the same branches as the
parent-tree, except for the parent node, that has been split and replaced
by some of its descendants.
1 | score.it(weight.1, weight.2)
|
weight.1 |
a matrix of dimension |
weight.2 |
a matrix of dimension |
The decision to split a given parent-node is based on achieving a
better score for the children-tree than for the parent-tree. In the case of
score.it
, a better score is reflected by a smaller value of the
scoring function, which is related to the average length of the messages
that encode the information about one clustering contained in the other.
The descendants of the parent-node considered in the children-tree are its
two children if no look-ahead is carried out; otherwise, the descendants
will reach subsequent generations and their number will increase by one at
each look-ahead step.
a list containing the following components:
sc1 |
the value of the scoring function for the parent-tree. |
sc2 |
the value of the scoring function for the children-tree. |
Aurora Torrente aurora@ebi.ac.uk and Alvis Brazma brazma@ebi.ac.uk
Torrente, A. et al. (2005). A new algorithm for comparing and visualising relationships between hierarchical and flat gene expression data clusterings. Bioinformatics, 21 (21), 3993-3999.
score.crossing, flatVShier
1 2 3 4 5 6 7 8 | ### simulated data
parent.clustering <- c(rep(1, 5), rep(2, 10), rep(3, 10))
# replace the branch '2' by children '4' and '5'
children.clustering<-c(rep(1,5),rep(4,3),rep(5,7),rep(3,10))
flat.clustering <- c(rep(1, 6), rep(2, 6), rep(3, 4), rep(4, 9))
score.it(table(parent.clustering, flat.clustering),
table(children.clustering, flat.clustering))
## better score for the parent.tree
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.