# Introduction ghypernet
is an OpenSource R package that allows to estimate and work with Generalised Hypergeometric Ensembles of Random Graphs (gHypEG).
ghypernet
has been developed specifically for the analysis of large networks characterised by a large number of repeated edges. It provides efficient methods to perform hypothesis testing and model selection on such data.
The theoretical foundation of this paper, gHypEGs, was developed in the following works:
The package uses the library BiasedUrn
to work with Wallenius’ non-central hypergeometric distribution. Although this is not required, it is recommended to install the BiasedUrn
R package, increasing the number of ‘colors’, i.e., the number of dimensions of the distribution. It can be easily done modifying the makevar file. In case the BiasedUrn
library cannot be found, all computations will be performed using the multinomial approximation.
You can install this package directly from GitHub. In R, run the following commands to install the package:
install.packages('devtools')
devtools::install_github("gi0na/r-ghypernet")
library(ghypernet)
The research and development behind ghypernet
is performed at the Chair of Systems Design, ETH Zürich.
Giona Casiraghi (project lead)
ghypernet
is licensed under the GNU Affero General Public License.