Skip to content

ggpicrust2

2.5.19Package record

Make 'PICRUSt2' Output Analysis and Visualization Easier

0packages depend
12.4Kdownloads / year
69.1%test coverage
13/13flavors OK

Overview

About

Provides a convenient way to analyze and visualize 'PICRUSt2' output with pre-defined plots and functions. Allows for generating statistical plots about microbiome functional predictions and offers customization options. Features a one-click option for creating publication-level plots, saving time and effort in producing professional-grade figures. Streamlines the 'PICRUSt2' analysis and visualization process. For more details, see Yang et al. (2023) doi:10.1093/bioinformatics/btad470.

Changes in 2.5.19

Analysis options

  • pathway_gsea() now accepts explicit gene_sets and an opt-in logCPM transformation for camera/fry. The latter tests log relative abundances with variance moderation and is invariant to positive per-sample rescaling. The existing voom default is unchanged. Neither transformation guarantees calibration for predicted functional abundances or removes their upstream prediction uncertainty.
  • pathway_daa() exposes LinDA's winsorization, adaptive zero-handling flag, and fixed pseudo-count without changing the historical defaults. Disabling winsorization preserves fractional abundances that the count backend would otherwise round. LinDA output now includes its native standard errors, statistics, degrees of freedom, and nominal pointwise 95% t intervals.
Show all changes in 2.5.19Hide the rest of the changes in 2.5.19

Documentation and diagnostics

  • Fixed the existing CRAN check findings: restored generated usage sections for three plotting/comparison helpers and made backend-dependent tests respect unavailable optional packages, including ALDEx2 on macOS oldrel. Help examples also check for their optional analysis/plotting dependencies.
  • Restored the installed-package test entry point so R CMD check actually executes the bundled regression tests.
  • Camera tutorial examples now estimate within-set correlation explicitly. A fixed correlation of 0.01 can underestimate variance for strongly correlated features; changing the abundance transformation alone does not address this assumption. The public function default is unchanged.
  • Restored the documentation website build and deployment from maintained sources, with generated HTML kept out of the source branch.
  • GSEA/DAA scatter plots now use the method-specific score label instead of labeling camera/fry signed p-value scores as normalized enrichment scores.
  • Audited all help examples, README workflows, and both vignettes against executable examples and underlying data transformations. Examples now use available metadata columns and self-contained inputs; README points to canonical walkthroughs instead of duplicating drifting workflows.
  • Clarified method-specific GSEA scores, contrasts, null hypotheses, leading-edge plots, shared tested universes, and the descriptive transformations in PCA, heatmaps, and ridge plots. Annotation adds labels and does not aggregate abundance or convert KO-level p-values to pathway-level evidence.
  • Corrected the contribution tutorial: KEGG filters can select member KOs, but the returned contribution table remains KO-level. Added a synthetic example with consistent taxonomy and sample IDs.
  • Fixed the stepwise tutorial's pathway_errorbar() call (#207): supply group labels named by sample ID, set KEGG pathway annotation parameters, and skip significance plots when no pathways pass the threshold. Both main workflows now use LinDA; the ALDEx2 alternative selects one test.
  • Consolidated duplicated README workflows into the main vignette, corrected unsafe group-vector examples in plotting/table help, and removed FAQ code that rounded p-values or indexed past the available significant features.
  • Corrected the GSEA tutorial's KO-versus-pathway comparison and clarified identifier matching for optional taxa-contribution filtering.
  • Group-length errors now report the label/sample counts and explain how to supply sample-ID-named labels instead of a metadata column name.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 7.0 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-10-10
  • NOTE11 OK, 2 NOTE2026-10-07
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-03-10
Advisories

none known

Documentation

In release 2.5.19
READMEYes · 1,662 wordsVignettesYes · 2 · dynamicNEWSYes · 67% structured · mentions 2.5.19Citation fileNoWebsiteYes · pkgdown
Help pages
76 (24 internal)
Examples that run
39%12 run in a plain check · 9 only when donttest examples are enabled (R CMD check --as-cran) · 10 never run
Exported functions with examples
65%
Documented parameters
99%
Return-value docs
100%
Help pages citing references
13%

Downloads

12.4K
CRAN downloads in the past year
Rank #3,426 · ~34/day · ~1K/mo
Daily download trend is not available in this view yet.
1.3K30 days
3.1K90 days
12.4K1 year
Compare downloads with other packages →
Also on200 r2u6 autocran

Repository

206Stars
26Forks
6Open issues
3Open PRs
18Releases
534Commits
5Commit identities
picrust2functional-datametagenomic-analysisvisualizationtax4fun216s-rrnametagenomicsmicrobiome
534 commits · Last activity 2026-10-06 · 0% stars, 30d · Discussions: 22 posts
Responsiveness
How these are sampled
PRs merged (all time)
75%
Median days to close, 50 most recently updated closed issues
667
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-17 · 1602026-09-30 · 206
PracticesBeta

10 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/cafferychen777/ggpicrust2 on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (1)
Issue templates
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-06 · The repository has a site deploy workflow

Reproducibility and dev environment (2)
renvdata-raw/
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2025-07-23
    Named in .Rbuildignore: CLAUDE.md
    Named in .gitignore: CLAUDE.md
    Commits: at least 56 crediting it in the message
  • GitHub Copilotfirst seen 2025-08-20
    Pull request: opened by its own account
  • Codexfirst seen 2026-05-05
    Named in .Rbuildignore: .codex
    Named in .gitignore: .codex
Models named in its commits
  • Claude Opus 4.527 commits · Dec 2025 to Jan 2026
  • Claude Sonnet 4.52 commits · Dec 2025
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
43 external dependencies (excludes base and recommended)

Installing ggpicrust2 adds 68 packages (38 with compiled code, 60 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, igraph 4.8 MB.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 1.4.8 (2023)
Releases (20)

Pick two releases to compare their code metrics.

  • 2.5.19Latest
    record
    2026-10-06 · current release · diff ↗ ·
    listed once in CRAN's queue
    Seen in one reading of CRAN's incoming queue, at 2026-10-06 15:36 UTC, so it stayed less than the time between readings.
  • 2.5.17
    record
    2026-06-05 · diff ↗
  • 2.5.16
    record
    2026-05-20 · diff ↗ ·
    added 1 export
    read_pathway_contrib_file
  • 2.5.14
    record
    2026-04-29 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 2.5.12
    record
    2026-04-10 · diff ↗ ·
    added 5 exports
    aggregate_taxa_contributions, read_contrib_file, read_strat_file, taxa_contribution_bar, taxa_contribution_heatmap
  • 2.5.10
    record
    2026-02-12 · diff ↗ ·
    removed 1 export
    ggpicrust2_extended
    added 2 exports
    pathway_ridgeplot, pathway_volcano
  • 2.5.2
    record
    2025-08-26 · diff ↗ ·
    added 14 exports
    calculate_smart_text_size, create_gradient_colors, create_legend_theme, create_pathway_class_theme, format_pvalue_smart, get_available_themes, get_color_theme, get_significance_colors, get_significance_stars, pathway_errorbar_table, prepare_gene_sets, preview_color_theme, resolve_annotation_overlaps, smart_color_selection
  • 2.3.2
    record
    2025-07-16 · diff ↗
  • 2.1.2
    record
    2025-04-13 · diff ↗ ·
    added 5 exports
    compare_gsea_daa, ggpicrust2_extended, gsea_pathway_annotation, pathway_gsea, visualize_gsea
  • R
    R 4.5.0 released · 2025-04-11
  • unarchivedReturned to CRAN
    2025-04-03
  • 2.0.0
    record
    2025-04-03 · diff ↗ ·
    added 1 export
    safe_extract
  • archivedRemoved from CRAN
    2024-11-25
    issues were not corrected in time Requires BioC packages no longer available as of BioC 3.20
  • R
    R 4.4.0 released · 2024-04-24
  • unarchivedReturned to CRAN
    2023-11-08
Show 13 earlier eventsHide 13 earlier events
Across CRAN, the median accepted release of the past year spent 23 hours in the queue, 90% under 11 days.How queue time is measured

Package metadata

First published
2023-03-24
Total releases
20 / 3 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Bundled data
1.7 MB / 13 files
Download size
4.2 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ggpicrust2")
Yang, C., & Zhang, L. (2026). ggpicrust2: Make 'PICRUSt2' Output Analysis and Visualization Easier (Version 2.5.19) [Computer software]. https://doi.org/10.32614/CRAN.package.ggpicrust2

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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

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