Description Usage Arguments Value See Also Examples

Signed backbones are extracted based on the significance filter and vigor filter as described in the following paper. Please cite it if you find this software useful in your work.

Furkan Gursoy and Bertan Badur. "Extracting the signed backbone of intrinsically dense weighted networks." Journal of Complex Networks.

1 2 3 4 5 6 7 8 9 10 |

`edgelist` |
A data frame. First two columns contain node pairs, and the third column contains the edge weights. If directed = TRUE, columns should be in this order: source node, target node, edge weight. |

`directed` |
Whether the input network is directed. Defaults to TRUE. |

`significance_threshold` |
Threshold for the significance filter. Defaults to '15pc'. (1) If filtering is directly based on alpha values: (1a) If scalar, a single nonnegative value, e.g., 1.23. (1b) If vector, a vector of nonpositive and nonnegative values, e.g., c(-1.23, 4.56). 1.23 is equivalent to c(-1.23, 1.23). (2) If filtering is based on ranking: (2a) If string, a single percentage value in the following format: '10pc'. (2b) If vector, a vector of percentage values in the following format: c('5pc', '5pc'). '10pc' is not equivalent to c('10pc', '10pc') since the latter retains 20% of possible links. '10pc' is not equivalent c('5pc', '5pc') since the latter retains 5% of edges on negative extreme and 5% of edges on positive extreme whereas the former simultaneously considers both extremes. |

`vigor_threshold` |
Threshold for the vigor filter. Defaults to 0.1. (1) If scalar, a single nonnegative value in the range [0, 1], e.g., 0.33. (2) If vector, a vector of nonpositive and nonnegative values in the ranges [-1, 0] and [0, 1], e.g., c(-0.5, 0.3). 0.33 is equivalent to c(-0.33, 0.33). |

`return_weights` |
Whether the returned backbone should contain the signed link weights that show the intensity of signed links. Defaults to FALSE. |

`return_significance` |
Whether the returned backbone should contain the link significance values that are benchmarked agains the significance_threshold. Defaults to FALSE. |

`max_iteration` |
Maximum number of iterations to be used in the Iterational Proportional Fitting Procedure. Defaults to 100. |

`precision` |
A small epsilon value to be used in comparison with zero values due to numerical precision issues. Can be left as default. Defaults to 10e-8. |

A data frame with shape (n_backbone_edges, 3 or 4) containing the edges for the extracted backbone. First two columns contain node pairs, and the third column contains the edge sign. If directed = TRUE, columns are in this order: source node, target node, edge sign. If return_weights = TRUE, signed edge weights are returned instead of edge sign. If return_significance = TRUE, a fourth column containing significance values is also returned.

More examples may be found at the project's homepage.

1 2 3 4 5 6 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.