findloops | R Documentation |
Detects feedback loops in a network.
findloops(mat, maxnodes, minnodes = 2)
mat |
A matrix of edge weights |
maxnodes , minnodes |
Maximum and minimum number of nodes permitted to be involved in the loop for it to be included in the output. |
Note: this has not yet been tested and may not behave as intended.
A list with:
A list of character vectors, each being a loopderived from the network
A data.frame
with one loop per row, describing
a character description of the involved nodes and the sign of the edges between them
The product of all edge weights, indicating whether it is a positive or negative feedback loop
The number of nodes involved
A list of matrices, each of the same size as mat
and
retaining only the edges involved in the loop
Sercan Kahveci
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.