https://github.com/alan-turing-institute/network-comparison
An R package implementing the NetEMD and NetDis network comparison measures
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 2 DOI reference(s) in README -
✓Academic publication links
Links to: arxiv.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (17.8%) to scientific vocabulary
Keywords
Repository
An R package implementing the NetEMD and NetDis network comparison measures
Basic Info
Statistics
- Stars: 14
- Watchers: 28
- Forks: 3
- Open Issues: 64
- Releases: 0
Topics
Metadata Files
README.md
Network Comparison
An R package implementing the Netdis and NetEMD alignment-free network comparison measures.
:warning: BETA: Package under construction (pre-release) :warning:
Until this package hits release 1.0 anything can change with no notice.
Usage
See "Quick start" vignettes in documentation for example usage.
Parallel processing support
The gdd_for_all_graphs method will make use of multiple threads to calculate graphlet-based degree distributions for multiple graphs in parallel. However, this is only supported on unix-like systems (e.g. Linux and Mac OSX), as the underlying mcapply method requires system support for forks. The gdd_for_all_graphs method will run on Windows, but the number of cores will be restricted to 1, regardless of the value of mc.cores provided to gdd_for_all_graphs or set in the R environment.
Installing package from source
When published to the CRAN package repository, the library and all documentation
will be installed in the standard manner using install.packages("netdist"),
which will also install all dependencies from CRAN. However, prior to publication
on CRAN, the package can be installed from Github using the devtools package.
Prerequisites
- Install the
devtoolspackage usinginstall.packages("devtools")
Installing package and core dependencies needed to use it
Core dependencies are listed in the Imports section of the package
DEPENDENCIES file and will be automatically installed when installing /
updating the package using devtools as described below.
Install the latest package from GitHub using:
- devtools::install_github("alan-turing-institute/network-comparison")
Installing additional optional dependencies
Additional optional packages required to generate documentation, run tests or
develop the package are listed in the Suggests section of the package
DEPENDENCIES file. These will not be automatically installed by
devtools::install() and, if required, each optional package will need to be
separately installed using devtools::install("<package_name>").
Example optional libraries are:
testthatfor running tests viadevtools::test()or generating package documentation usingdevtools::document()knitrfor building the package long-form documentation vignettes usingdevtools::build_vignettes()
Documentation
You can browse a list of long form examples illustrating how to use the package
using browseVignettes(package = "netdist").
You can list the functions available in the package with library(help = "netdist")
and get more detailed help on individual functions using ?function_name (e.g.
?net_emd). In RStudio, typing ?netdist:: should also provide a drop down list
of functions you can select to load the more detailed help.
References
NetEMD
Anatol E. Wegner, Luis Ospina-Forero, Robert E. Gaunt, Charlotte M. Deane, Gesine Reinert; Identifying networks with common organizational principles. arXiv:1704.00387 stat.ML
NetDis
Waqar Ali, Tiago Rito, Gesine Reinert, Fengzhu Sun, Charlotte M. Deane; Alignment-free protein interaction network comparison. Bioinformatics 2014; 30 (17): i430-i437. https://doi.org/10.1093/bioinformatics/btu447 (Open Access)
Owner
- Name: The Alan Turing Institute
- Login: alan-turing-institute
- Kind: organization
- Email: info@turing.ac.uk
- Website: https://turing.ac.uk
- Repositories: 477
- Profile: https://github.com/alan-turing-institute
The UK's national institute for data science and artificial intelligence.
GitHub Events
Total
- Issues event: 1
Last Year
- Issues event: 1
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 114
- Total pull requests: 35
- Average time to close issues: about 2 months
- Average time to close pull requests: 5 months
- Total issue authors: 5
- Total pull request authors: 4
- Average comments per issue: 1.41
- Average comments per pull request: 2.6
- Merged pull requests: 24
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: 15 days
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 1.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- martintoreilly (88)
- andeElliott (15)
- leospinaf (5)
- jack89roberts (5)
- mhauru (1)
Pull Request Authors
- martintoreilly (17)
- jack89roberts (10)
- andeElliott (7)
- ots22 (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- R >= 3.1.0 depends
- Rcpp * imports
- igraph * imports
- lpSolve * imports
- orca * imports
- pheatmap * imports
- plyr * imports
- purrr * imports
- dplyr * suggests
- knitr * suggests
- phangorn * suggests
- rmarkdown * suggests
- roxygen2 * suggests
- testthat * suggests