Skip to content

glmSparseNet

Bioc current

Network Centrality Metrics for Elastic-Net Regularized Models

v1.30.0 · Package record · software · GPL-3

Release Lineage

Entered 3.8 · Oct 31, 2018

Current · Requires R 4.6

1.0 In 16 of 49 releases 3.23

Description

glmSparseNet is an R-package that generalizes sparse regression models when the features (e.g. genes) have a graph structure (e.g. protein-protein interactions), by including network-based regularizers. glmSparseNet uses the glmnet R-package, by including centrality measures of the network as penalty weights in the regularization. The current version implements regularization based on node degree, i.e. the strength and/or number of its associated edges, either by promoting hubs in the solution or orphan genes in the solution. All the glmnet distribution families are supported, namely "gaussian", "poisson", "binomial", "multinomial", "cox", and "mgaussian".

Advisories

None published for Bioconductor

Test coverage

Line coverage

–

Expression

–

Tests / Examples

–

Functions

57 29 exported

Complexity

3.9 avg / 13 max

Call network

57 nodes / 70 edges

Test coverage is not measured for Bioconductor packages; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

8,554

Files

109

Compiled share

0%

Has compiled src

No

Language breakdown

R 3,195 (37.4%)Tests 2,088 (24.4%)Docs 1,880 (22%)Vignettes 1,391 (16.3%)

API

Exported functions

29

Internal functions

28

Recent export changes

v3.8+25 buildLambda, buildStringNetwork, cv.glmDegree +22 more

Testing

Has tests

Yes

Test-to-code ratio

0.65

testthat edition

–

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.3.0

System requirements

–

C++ standard

–

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

16

First release

2018-10-30

Latest release

2026-04-28

Avg cadence

179 days

Cold removal rate

100%

Dep drift

19

LOC over versions

v3.8: 4,313 LOCv3.9: 4,325 LOCv3.10: 4,325 LOCv3.11: 4,325 LOCv3.12: 4,419 LOCv3.13: 4,974 LOCv3.14: 5,077 LOCv3.15: 6,465 LOCv3.16: 6,465 LOCv3.17: 6,465 LOCv3.18: 6,486 LOCv3.19: 8,547 LOCv3.20: 8,547 LOCv3.21: 8,547 LOCv3.22: 8,548 LOCv3.23: 8,554 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.

Documentation

In the Bioconductor 3.23 release
README· In the Bioconductor git repository, left out of the releaseVignettesYes · 6 · dynamicNEWSYes · 100% structuredCitation fileYes · cites a publication
Help pages
43 (2 internal)includes a package overview page
Examples that run
91%31 run in a plain check (2 of them under a condition) · 3 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
95%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
2%

Repository practices

Upstream repositoryBeta

8 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/sysbiomed/glmsparsenet on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
README.Rmd

GitHub Pages site last deployed 2026-03-20 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting
Lint, format, editor (2)
lintrLint workflow
How this is detected·Detection ruleset v4 (2026-10-20)

Datasets

Bundled datasets · 1
NameClassSizeAlso in
string.network.700.cachedgCMatrix11,033 × 11,033No other package

All of glmSparseNet's data objects

Topics

Maintainer
André Veríssimo

Available on

CRANr2uBioconductorautoCRANCOPR

Depended on by (1)

People

Cite

Cite this package

Run in R for the authors' entry:

citation("glmSparseNet")

The package provides a citation file, so citation() returns the authors' own entry.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for glmSparseNet version 1.30.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy