linf: L-Infinity Normalization and Dominant Community State Types

Implements L-infinity normalization for compositional matrices, assigns samples to dominant features, constructs truncated and hierarchically refined dominant community state types, constructs unordered dominance sets with support-based sample filtering, and computes representative landmark profiles. The methods are described by Gajer and Ravel (2025) <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.

Version: 0.4.0
Depends: R (≥ 4.0)
Imports: Matrix, methods
Suggests: testthat (≥ 3.2.0), htmltools, knitr, plotly, rmarkdown
Published: 2026-11-07
DOI: 10.32614/CRAN.package.linf
Author: Pawel Gajer [aut, cre]
Maintainer: Pawel Gajer <pgajer at gmail.com>
BugReports: https://github.com/pgajer/linf/issues
License: MIT + file LICENSE
URL: https://pgajer.github.io/linf/, https://github.com/pgajer/linf, https://arxiv.org/abs/2503.21543
NeedsCompilation: no
Language: en-US
Citation: linf citation info
Materials: README, NEWS
CRAN checks: linf results

Documentation:

Reference manual: linf.html , linf.pdf
Vignettes: Example datasets and reproducible workflows (source, R code)
Finding your way around linf (source, R code)
Dominant Community State Types: From Normalization to a Gut Demonstration (source, R code)
dCSTs for Vaginal Microbiome Data (source, R code)

Downloads:

Package source: linf_0.4.0.tar.gz
Windows binaries: r-devel: linf_0.4.0.zip, r-release: linf_0.3.0.zip, r-oldrel: linf_0.3.0.zip
macOS binaries: r-release (arm64): linf_0.4.0.tgz, r-oldrel (arm64): linf_0.4.0.tgz, r-release (x86_64): linf_0.4.0.tgz, r-oldrel (x86_64): linf_0.4.0.tgz
Old sources: linf archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=linf to link to this page.