robin

an R package for the validation of community detection, it studies the robustness of a community detection algorithm and compares two algorithms.

https://github.com/valeriapolicastro/robin

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.5%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

an R package for the validation of community detection, it studies the robustness of a community detection algorithm and compares two algorithms.

Basic Info
  • Host: GitHub
  • Owner: ValeriaPolicastro
  • License: other
  • Language: R
  • Default Branch: master
  • Homepage:
  • Size: 23.1 MB
Statistics
  • Stars: 20
  • Watchers: 3
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created over 7 years ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

robin

Available on CRAN https://CRAN.R-project.org/package=robin

          install.packages("robin")

For the installation of the updated github version:

           devtools::install_github("ValeriaPolicastro/robin")

ROBIN (ROBustness In Network) is an R package for the validation of community detection. It has a double aim: it studies the robustness of a community detection algorithm and it compares the robustness of two community detection algorithms.

The package implements a methodology that detects if the community structure found by a detection algorithm is statistically significant or is a result of chance, merely due to edge positions in the network.

The package:

1) Examine the robustness of a community detection algorithm against random perturbations of the original graph

2) Tests the statistical difference between the stability measure curves created

3) Makes a comparison between different community detection algorithms to choose the one that better fits the network of interest

4) Gives a graphical interactive representation


Example 1: "Robustness of a community detection algorithm"

{r} my_network <- system.file("example/football.gml", package="robin") graph <- prepGraph(file=my_network, file.format="gml") graphRandom <- random(graph=graph) proc <- robinRobust(graph=graph, graphRandom=graphRandom, method="louvain") plot(proc)

```{r}

For the testing:

robinFDATest(proc) robinGPTest(proc) ```

Example 2: "Comparison of two community detection algorithms"

{r} my_network <- system.file("example/football.gml", package="robin") graph <- prepGraph(file=my_network, file.format="gml") comp <- robinCompare(graph=graph, method1="fastGreedy", method2="louvain") plot(comp)

In this example, the Louvain algorithm fits better the network of interest, as the curve of the stability measure varies less than the one obtained by the Fast greedy method. Lower the curve more stable is the community detection method.

```{r}

For the testing:

robinFDATest(comp) robinGPTest(comp) ```

Reference

ROBustness In Network (robin): an R package for Comparison and Validation of communities Valeria Policastro, Dario Righelli, Annamaria Carissimo, Luisa Cutillo, Italia De Feis. The R Journal (2021) https://journal.r-project.org/archive/2021/RJ-2021-040/index.html

License

Copyright (c) 2019 V. Policastro, A. Carissimo, L. Cutillo, I. De Feis and D. Righelli.

GitHub Events

Total
  • Watch event: 3
  • Push event: 24
Last Year
  • Watch event: 3
  • Push event: 24

Committers

Last synced: over 3 years ago

All Time
  • Total Commits: 367
  • Total Committers: 8
  • Avg Commits per committer: 45.875
  • Development Distribution Score (DDS): 0.556
Top Committers
Name Email Commits
vpoli v****o@g****m 163
ValeriaPolicastro 4****o@u****m 141
ValeriaPolicastro y****u@e****m 36
dario d****i@n****t 15
Valeria Policastro V****o@g****m 5
Dario d****i@g****m 4
Luisa l****8@g****m 2
drighelli d****i@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 1
  • Total pull requests: 5
  • Average time to close issues: 6 minutes
  • Average time to close pull requests: 3 days
  • Total issue authors: 1
  • Total pull request authors: 3
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.2
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: 2 minutes
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • drighelli (4)
  • ValeriaPolicastro (2)
  • mikecroucher (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 16,587 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 11
  • Total maintainers: 1
cran.r-project.org: robin

ROBustness in Network

  • Versions: 11
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 16,587 Last month
Rankings
Stargazers count: 18.7%
Forks count: 21.9%
Dependent packages count: 29.8%
Average: 31.8%
Dependent repos count: 35.5%
Downloads: 53.0%
Last synced: 12 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.5 depends
  • gprege * depends
  • igraph * depends
  • qpdf * depends
  • DescTools * imports
  • fdatest * imports
  • ggplot2 * imports
  • gridExtra * imports
  • methods * imports
  • networkD3 * imports
  • parallel * imports
  • devtools * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • testthat >= 2.1.0 suggests