Package: prCGGM
Type: Package
Title: Prior-Informed Conditional Gaussian Graphical Models
Version: 0.2.0
Authors@R: c(
    person("Alessia", "Mapelli", email = "alessia.mapelli@polimi.it",
           role = c("aut", "cre")),
    person("Francesca", "Ieva", role = "ths"),
    person("Politecnico di Milano", role = "cph")
    )
Description: 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'; the penalty and the structural hyperparameters are selected
    per node by the Bayesian information criterion of the least-squares
    refit (or, optionally, by its extended version, cross-validation or
    stability selection), the selected edges
    are refitted by least squares, 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)
    <doi:10.48550/arXiv.2606.31805>.
License: GPL-3
URL: https://github.com/AlessiaMapelli/prCGGM
BugReports: https://github.com/AlessiaMapelli/prCGGM/issues
Encoding: UTF-8
Language: en-GB
LazyData: true
Depends: R (>= 4.1.0)
Imports: glmnet, graphics, grDevices, parallel, sparsegl, stats, utils
Suggests: corrplot, knitr, rmarkdown, testthat (>= 3.0.0)
VignetteBuilder: knitr
Config/testthat/edition: 3
Config/roxygen2/version: 8.1.1
NeedsCompilation: no
Packaged: 2026-11-25 12:34:26 UTC; alessia.mapelli
Author: Alessia Mapelli [aut, cre],
  Francesca Ieva [ths],
  Politecnico di Milano [cph]
Maintainer: Alessia Mapelli <alessia.mapelli@polimi.it>
Repository: CRAN
Date/Publication: 2026-11-25 17:50:02 UTC
Built: R 4.6.2; ; 2026-11-26 00:53:42 UTC; windows
