L-Infinity Normalization and Dominant Community State Types
Overview
Implements L-infinity normalization for compositional matrices, assigns samples to dominant features, constructs truncated and hierarchically refined dominant community state types, and computes representative landmark profiles. The methods are described in the accompanying publication doi:10.48550/arXiv.2503.21543. Bundled vaginal and gut microbiome data support reproducible demonstrations of the package interface; phenotype fields in the stratified gut subset are illustrative and are not suitable for population-level inference.
This release simplifies the public API and requires the explicit dCST object
structure introduced in linf 0.2.0.
refine.linf.csts()now supports both automatic and explicit dominance-lineage selection throughlineages.to.refine; it can be called repeatedly to add successive hierarchy depths.refine.linf.csts.iter()has been removed in favor of repeated calls torefine.linf.csts().- The narrow convenience wrapper
asv.to.linf.csts()has been removed. Usefilter.asv(),normalize.linf(), andlinf.csts()explicitly so that each stage and its dCST parameters remain visible. - The standalone formatter
latex.linf.csts()has been removed; dCST summary tables can be formatted with general reporting tools such asknitr::kable().
Show all changes in 0.3.0Hide the rest of the changes in 0.3.0
- Pre-0.2 flat dCST objects are no longer accepted. Functions consuming fitted dCSTs now require the explicit active, pure-policy, and absorb-policy hierarchies produced by
linf.csts().
From NEWS.md in the release
Install
Health
- OK13 OKNow
- OK7 OK2026-08-06
Documentation
The repository also keeps web-only articles.
- Help pages
- 18
- Examples that run
- 100%18 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 11%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 24
Forks over time
PRs over time
Commits over time
11 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/pgajer/linf on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-10 · The repository has a site deploy workflow
pkgdown site last built 2026-09-10
Show all practicesHide 2 practices
Dependencies
Installing linf adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.3.0Latest2026-08-31 · current release · diff ↗ ·
removed 3 exports
asv.to.linf.csts, latex.linf.csts, refine.linf.csts.iter - 0.2.02026-08-05 · diff ↗ ·
removed 3 exports
collapse.rare, expand.rare, linf.cellsadded 2 exports
dcst.view, linf.dominant.features - 0.1.02026-08-05
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-08-05
- Total releases
- 3 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.0
- Bundled data
- 652 KB / 5 files
- Download size
- 1.0 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("linf")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.48550/arxiv.2503.21543.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.