Skip to content

Maaslin2

Bioc current

"Multivariable Association Discovery in Population-scale Meta-omics Studies"

v1.26.0 · Package record · software · MIT + file LICENSE

Release Lineage

Entered 3.10 · Oct 30, 2019

Current · Requires R 4.6

1.0 In 14 of 49 releases 3.23

Description

MaAsLin2 is comprehensive R package for efficiently determining multivariable association between clinical metadata and microbial meta'omic features. MaAsLin2 relies on general linear models to accommodate most modern epidemiological study designs, including cross-sectional and longitudinal, and offers a variety of data exploration, normalization, and transformation methods. MaAsLin2 is the next generation of MaAsLin.

Advisories

None published for Bioconductor

Test coverage

Line coverage

–

Expression

–

Tests / Examples

–

Functions

16 1 exported

Complexity

9.5 avg / 70 max

Call network

16 nodes / 12 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

3,227

Files

19

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,390 (74.1%)Tests 402 (12.5%)Docs 134 (4.2%)Vignettes 301 (9.3%)

API

Exported functions

1

Internal functions

11

Testing

Has tests

Yes

Test-to-code ratio

0.17

testthat edition

–

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

–

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.6

System requirements

–

C++ standard

–

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

14

First release

2019-10-29

Latest release

2026-04-28

Avg cadence

182 days

Cold removal rate

–

Dep drift

5

LOC over versions

v3.10: 2,720 LOCv3.11: 2,755 LOCv3.12: 2,953 LOCv3.13: 2,967 LOCv3.14: 2,983 LOCv3.15: 2,983 LOCv3.16: 2,983 LOCv3.17: 3,228 LOCv3.18: 3,228 LOCv3.19: 3,228 LOCv3.20: 3,228 LOCv3.21: 3,228 LOCv3.22: 3,227 LOCv3.23: 3,227 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
READMEYes · 1,288 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structuredCitation fileYes · cites a publicationWebsiteYes
Help pages
1
Examples that run
100%1 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%
Vignettes (1)

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/biobakery/maaslin2 on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (2)
Issue templatesPR template
How this is detected·Detection ruleset v4 (2026-10-20)

Datasets

Bundled datasets · 2
NameClassSizeAlso in
HMP2_metadatadata.frame1,595 × 12No other package
HMP2_taxonomydata.frame1,595 × 88No other package

All of Maaslin2's data objects

Topics

Maintainer
Sagun Maharjan

Available on

CRANr2uBioconductorautoCRANCOPR

Depended on by (2)

Bioconductor (2)

Suggested by (2)

People

Cite

Cite this package

Run in R for the authors' entry:

citation("Maaslin2")

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

It points to 10.1371/journal.pcbi.1009442.

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 Maaslin2 version 1.26.0 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, 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