Estimates Gaussian graphical models whose mean and precision matrix
depend linearly on sample-level covariates, while integrating prior
knowledge on the network structure. A typical application is the
reconstruction of personalised protein-protein interaction networks from
proteomics data, with clinical or demographic variables as covariates and
interaction confidence scores from the 'STRING' database as prior
knowledge. Prior knowledge enters through a weighted sparse-group lasso
penalty that is applied only to the
population-level network, so that covariate-specific changes remain
entirely data-driven. Node-wise regressions are fitted with 'glmnet' and
'sparsegl', structural hyperparameters are tuned per node by the Bayesian
information criterion, and personalised networks can be predicted for new
individuals from their covariates. Estimation runs sequentially, in
parallel on a single machine, or as 'SLURM' array jobs on computing
clusters. The method is described in Mapelli et al. (2026)