Skip to main content
. 2021 May 11;23(5):594. doi: 10.3390/e23050594
Algorithm 1: Heatmap based on mutual conditional entropy
Input: N×K data matrix M0=[Xk[i]].
Output: The heatmap MceT.
For each pair k and k, compute E[Xkc|Xkc]=H[Xkc|Xkc]H[Xkc].
The K×K mutual conditional entropy matrix is defined as Mce=[E<k,k>],
where E<k,k>=[E[Xkc|Xkc]+E[Xkc|Xkc]]/2.
Apply Hierarchical clustering algorithm on Mce to build a binary HC-tree Tmce.
Permute the rows and columns of Mce according to the arrangement of tree-leaves of Tmce to have MceT.