Skip to content

GUniFrac

Generalized UniFrac Distances, Distance-Based Multivariate Methods and Feature-Based Univariate Methods for Microbiome Data Analysis

v1.9 · Aug 25, 2025 · GPL-3

Description

A suite of methods for powerful and robust microbiome data analysis including data normalization, data simulation, community-level association testing and differential abundance analysis. It implements generalized UniFrac distances, Geometric Mean of Pairwise Ratios (GMPR) normalization, semiparametric data simulator, distance-based statistical methods, and feature-based statistical methods. The distance-based statistical methods include three extensions of PERMANOVA: (1) PERMANOVA using the Freedman-Lane permutation scheme, (2) PERMANOVA omnibus test using multiple matrices, and (3) analytical approach to approximating PERMANOVA p-value. Feature-based statistical methods include linear model-based methods for differential abundance analysis of zero-inflated high-dimensional compositional data.

Downloads

CRAN

1.7K

Last 30 days

2900th

5.1K

Last 90 days

35.5K

Last year

Trend: -1% (30d vs prior 30d)

r2u CRAN

36

Last 30 days

132

Last 90 days

542

Last year

Trend: -10% (30d vs prior 30d)

autoCRAN

1

Last 7 days

8

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

conda-forge CRAN

162

Last 30 days

596

Last 90 days

4.5K

Last year

Trend: -43.6% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/GUniFrac.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

4,242

Files

41

Compiled share

5.5%

Has compiled src

Yes

Language breakdown

R 2,005 (47.3%)C/C++/src 233 (5.5%)Docs 1,736 (40.9%)Vignettes 268 (6.3%)

API

Exported functions

14

Internal functions

10

Recent export changes

v1.7+1 SimulateMSeqC
v1.6+3 dICC, dICC.SE.asympt, dICC.SE.bt

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

26.3%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

5.6%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

10

First release

2012-04-27

Latest release

2025-08-25

Avg cadence

159 days

Cold removal rate

100%

Dep drift

20

LOC over versions

v1.0: 622 LOCv1.1: 654 LOCv1.2: 1,296 LOCv1.3: 2,707 LOCv1.4: 3,465 LOCv1.5: 3,241 LOCv1.6: 3,650 LOCv1.7: 4,058 LOCv1.8: 4,208 LOCv1.9: 4,242 LOC

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

Reverse Dependencies (5)

suggests

Dependency Network

Dependencies Reverse dependencies Rcpp vegan ggplot2 matrixStats Matrix ape statmod rmutil dirmult MASS ggrepel foreach modeest inline LDM MiRKAT chemodiv mecoturn microeco GUniFrac

Version History

11 tracked
new 1.9 Mar 10, 2026
updated 1.9 ← 1.8 diff Aug 24, 2025
updated 1.8 ← 1.7 diff Sep 13, 2023
updated 1.7 ← 1.6 diff Oct 22, 2022
updated 1.6 ← 1.5 diff May 16, 2022
updated 1.5 ← 1.4 diff Apr 5, 2022
updated 1.4 ← 1.3 diff Nov 9, 2021
updated 1.3 ← 1.2 diff Aug 17, 2021
updated 1.2 ← 1.1 diff May 2, 2021
updated 1.1 ← 1.0 diff Feb 12, 2018
new 1.0 Apr 27, 2012