Package: prCGGM 0.1.0
prCGGM: Prior-Informed Conditional Gaussian Graphical Models
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) <doi:10.48550/arXiv.2606.31805>.
Authors:
prCGGM_0.1.0.tar.gz
prCGGM_0.1.0.zip(r-4.7-any)prCGGM_0.1.0.zip(r-4.6-any)
prCGGM_0.1.0.tar.gz(r-4.7-any)prCGGM_0.1.0.tar.gz(r-4.6-any)
prCGGM_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
prCGGM/json (API)
| # Install 'prCGGM' in R: |
| install.packages('prCGGM', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/alessiamapelli/prcggm/issues
- prcggm_example - Example data for prCGGM
Last updated from:8db95b78b4. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 117 | ||
| source / vignettes | OK | 195 | ||
| linux-release | OK | 129 | ||
| windows-devel | OK | 107 | ||
| windows-release | OK | 82 | ||
| wasm-release | OK | 123 |
Exports:compare_networksplot_networkplot_network_differenceprcggmprcggm_nodeprcggm_slurm_collectprcggm_slurm_preparesimulate_prcggm_data
Dependencies:clicodetoolscpp11dotCall64dplyrfarverforeachgenericsggplot2glmnetgluegtableisobanditeratorslabelinglatticelifecyclemagrittrMatrixpillarpkgconfigpurrrR6RColorBrewerRcppRcppEigenrlangRSpectraS7scalesshapesparseglstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Compare two networks | compare_networks |
| Plot a network as a heatmap | plot_network |
| Plot the difference between two networks | plot_network_difference |
| Plot a network component of a fitted model | plot.prcggm |
| Fit a prior-informed conditional Gaussian graphical model | prcggm |
| Example data for prCGGM | prcggm_example |
| Run the estimation as SLURM array jobs | prcggm_node prcggm_slurm_collect prcggm_slurm_prepare |
| Predict personalised networks | predict.prcggm |
| Simulate data from a conditional Gaussian graphical model | simulate_prcggm_data |
| Summarise a fitted prCGGM model | summary.prcggm |
