View source: R/SourceCodePTNWNeu.R
edge.inv.direc | R Documentation |
This function calculates the differences in edge weight for each edge between two networks (adjacency matrices of the same dimension).
edge.inv.direc(A, B)
A, B |
adjacency matrices of the same dimension |
This function calculates the differences in edge weight for each edge between two networks (adjacency matrices of the same dimension). In particular, it takes account of potentially different directions (signs) of the edge weights (associations) when deriving the differences. Differences in edge weight are one of the edge-specific network difference characteristics to compare two networks.
a symmetric N \times N matrix, with N denoting the number of nodes, containing the differences in edge weight between two respective nodes
A<-create.adjacency.matrix(ExDataA,methodlist=list("Spearman")) B<-create.adjacency.matrix(ExDataB,methodlist=list("Spearman")) edge.inv.direc(A,B)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.