Make 'PICRUSt2' Output Analysis and Visualization Easier
Overview
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.
Analysis options
pathway_gsea()now accepts explicitgene_setsand an opt-inlogCPMtransformation 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 checkactually 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
- OK13 OK2026-10-10
- NOTE11 OK, 2 NOTE2026-10-07
- ERROR11 OK, 2 NOTE, 1 ERROR2026-03-10
Documentation
- 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
Repository
- 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
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
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.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-06 · The repository has a site deploy workflow
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2025-07-23Named in .Rbuildignore: CLAUDE.mdNamed in .gitignore: CLAUDE.mdCommits: at least 56 crediting it in the message
- GitHub Copilotfirst seen 2025-08-20Pull request: opened by its own account
- Codexfirst seen 2026-05-05Named in .Rbuildignore: .codexNamed in .gitignore: .codex
- Claude Opus 4.527 commits · Dec 2025 to Jan 2026
- Claude Sonnet 4.52 commits · Dec 2025
Dependencies
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.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 2.5.19Latest2026-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.172026-06-05 · diff ↗
- 2.5.16
- 2.5.142026-04-29 · diff ↗
- RR 4.6.0 released · 2026-04-24
- 2.5.122026-04-10 · diff ↗ ·
added 5 exports
aggregate_taxa_contributions, read_contrib_file, read_strat_file, taxa_contribution_bar, taxa_contribution_heatmap - 2.5.102026-02-12 · diff ↗ ·
removed 1 export
ggpicrust2_extendedadded 2 exports
pathway_ridgeplot, pathway_volcano - 2.5.22025-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.22025-07-16 · diff ↗
- 2.1.22025-04-13 · diff ↗ ·
added 5 exports
compare_gsea_daa, ggpicrust2_extended, gsea_pathway_annotation, pathway_gsea, visualize_gsea - RR 4.5.0 released · 2025-04-11
- unarchivedReturned to CRAN2025-04-03
- 2.0.0
- archivedRemoved from CRAN2024-11-25issues were not corrected in time Requires BioC packages no longer available as of BioC 3.20
- RR 4.4.0 released · 2024-04-24
- unarchivedReturned to CRAN2023-11-08
Show 13 earlier eventsHide 13 earlier events
- 1.7.32023-11-08 · diff ↗
- archivedRemoved from CRAN2023-11-01check problems were not corrected in time
- 1.7.22023-08-13 · diff ↗
- 1.7.12023-06-09 · diff ↗ ·
added 3 exports
compare_daa_results, compare_metagenome_results, import_MicrobiomeAnalyst_daa_results - 1.7.02023-05-31 · diff ↗
- 1.6.52023-05-13 · diff ↗
- 1.6.32023-05-08 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.6.02023-04-08 · diff ↗
- 1.5.02023-04-04 · diff ↗
- 1.4.92023-03-28 · diff ↗
- 1.4.82023-03-24
- RR 4.2.0 released · 2022-04-22
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")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.
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.