getPep | R Documentation |
Compute the positive edge percentage of an interaction matrix.
getPep(A)
A |
the interaction matrix |
Values on the diagonal are ignored. More precisely, the positive arc percentage is computed, e.g. the percentage of positive entries in the interaction matrix.
the positive edge percentage
A <- cbind(c(-1,0,1),c(0,-1,0),c(-1,0,-1)) x <- getPep(A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.