View on GitHub


An R package for cross-network analysis

the xnet logo

The package xnet is a package in development for cross-network analysis like protein-ligand or plant-pollinator interactions. Currently the package provides a basic interface for two-step kernel ridge regression, including quick cross-validation due to algebraic shortcuts.

The package is still in beta, so expect thorough changes and additions. A first stable version (0.1.10) is released on CRAN.

The current version can be installed at your own risk using following code:


If you want to download the latest devel version, you can use the following code :

devtools::install_github("CenterForStatistics-UGent/xnet", ref = "devel) 

It includes a few vignettes explaining how to use the package, how the example data was prepared and how the internal class inheritance works. After installing, you can open the introduction using following code :

vignette("xnet_ShortIntroduction", package = "xnet")

The paper describing the method is published in Briefings in Bioinformatics:

Stock, M., Pahikkala, T., Airola, A., Waegeman, W. and De Baets, B. Algebraic shortcuts for leave-one-out cross-validation in supervised network inference Briefings in Bioinformatics, accepted sep 2018.


Our algorithms are part of a larger kernel-based framework for pairwise learning. A paper relating the different methods and their learning properties was recently accepted for publication in Neural Computation:

Stock, M., Pahikkala, T., Airola, A., De Baets, B. and Waegeman, W. A comparative study of pairwise learning methods based on kernel ridge regression Neural Computation 30 (2018), 2245-2283.