GetJensenShannonDivergence | R Documentation |
Calculate the Jensen-Shannon Divergence of two networks
GetJensenShannonDivergence( AdjacencyMatrix1, AdjacencyMatrix2, VNEntropy1, VNEntropy2 )
AdjacencyMatrix1 |
an adjacency matrix |
AdjacencyMatrix2 |
an adjacency matrix |
VNEntropy1 |
the value of the Von Neumann entropy of the corresponding (1st) adjacency matrix |
VNEntropy2 |
the value of the Von Neumann entropy of the corresponding (2nd) adjacency matrix |
The Jensen–Shannon distance between the two networks
De Domenico, M., et al. Structural reducibility of multilayer networks. Nat Commun 6, 6864 (2015). doi 10.1038/ncomms7864
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.