Skip to content

ggpicrust2

Make 'PICRUSt2' Output Analysis and Visualization Easier

v2.5.10 · Feb 12, 2026 · MIT + file LICENSE

Description

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>.

Downloads

1.2K

Last 30 days

3456th

3K

Last 90 days

10.1K

Last year

Trend: +3.9% (30d vs prior 30d)

CRAN Check Status

1 ERROR
2 NOTE
11 OK
Show all 14 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-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 ERROR
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (3 non-OK)
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘lefser’
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.4Mb
  sub-directories of 1Mb or more:
    data      3.6Mb
    extdata   1.0Mb
ERROR r-release-macos-arm64

tests

Running ‘testthat.R’ [8s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ggpicrust2)
  Loading required package: ggpicrust2
  To cite ggpicrust2 in publications use:
  Chen Yang, Jiahao Mai, Xuan Cao, Aaron Burberry, Fabio Cominelli, Liangliang Zhang, ggpicrust2: an R package for PICRUSt2 predicted functional profile analysis and visualization, Bioinformatics, Volume 39, Issue 8, August 2023, btad470, https://doi.org/10.1093/bioinformatics/btad470
  > 
  > test_check("ggpicrust2")
  Reading input data...
  
  Performing pathway differential abundance analysis...
  
  Annotating pathways...
  
  Creating pathway error bar plots...
  
  Plot 1 skipped (no data for method: mock_method)
  
  ggpicrust2 analysis completed.
  
  Note: Preranked GSEA methods (fgsea, clusterProfiler) do not account for inter-gene correlations, which may lead to unreliable p-values (Wu et al., 2012). Consider using method='camera' or method='fry' for more 
...[truncated]...
ethod)
  ── Error ('test-pathway_daa.R:232:3'): pathway_daa include_abundance_stats parameter works correctly ──
  Error in `require_package(method_packages[[daa_method]], purpose = daa_method)`: Package 'ALDEx2' is required for ALDEx2. Install with: BiocManager::install('ALDEx2')
  Backtrace:
      ▆
   1. └─ggpicrust2::pathway_daa(...) at test-pathway_daa.R:232:3
   2.   └─ggpicrust2:::require_package(method_packages[[daa_method]], purpose = daa_method)
  ── Error ('test-pathway_errorbar.R:227:3'): pathway_errorbar_table function works correctly ──
  Error in `require_package(method_packages[[daa_method]], purpose = daa_method)`: Package 'ALDEx2' is required for ALDEx2. Install with: BiocManager::install('ALDEx2')
  Backtrace:
      ▆
   1. └─ggpicrust2::pathway_daa(...) at test-pathway_errorbar.R:227:3
   2.   └─ggpicrust2:::require_package(method_packages[[daa_method]], purpose = daa_method)
  
  [ FAIL 8 | WARN 2 | SKIP 9 | PASS 151 ]
  Error:
  ! Test failures.
  Execution halted

Check History

ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-release-macos-arm64

tests

Running ‘testthat.R’ [8s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ggpicrust2)
  Loading required package: ggpicrust2
  To cite ggpicrust2 in publications use:
  Chen Yang, Jiahao Mai, Xuan
...[truncated]...
1. └─ggpicrust2::pathway_daa(...) at test-pathway_errorbar.R:227:3
   2.   └─ggpicrust2:::require_package(method_packages[[daa_method]], purpose = daa_method)
  
  [ FAIL 8 | WARN 2 | SKIP 9 | PASS 151 ]
  Error:
  ! Test failures.
  Execution halted
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘lefser’
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.4Mb
  sub-directories of 1Mb or more:
    data      3.6Mb
    extdata   1.0Mb

Dependency Network

Dependencies Reverse dependencies aplot dplyr ggplot2 ggh4x readr tibble tidyr ggprism patchwork ggplotify magrittr progress tidygraph ggraph ggpicrust2

Version History

new 2.5.10 Mar 10, 2026
updated 2.5.10 ← 2.5.2 diff Feb 11, 2026
updated 2.5.2 ← 2.3.2 diff Aug 25, 2025
updated 2.3.2 ← 2.1.2 diff Jul 15, 2025
updated 2.1.2 ← 2.0.0 diff Apr 12, 2025
updated 2.0.0 ← 1.7.3 diff Apr 2, 2025
updated 1.7.3 ← 1.7.2 diff Nov 7, 2023
updated 1.7.2 ← 1.7.1 diff Aug 12, 2023
updated 1.7.1 ← 1.7.0 diff Jun 8, 2023
updated 1.7.0 ← 1.6.5 diff May 30, 2023
updated 1.6.5 ← 1.6.3 diff May 12, 2023
updated 1.6.3 ← 1.6.0 diff May 7, 2023
updated 1.6.0 ← 1.5.0 diff Apr 7, 2023
updated 1.5.0 ← 1.4.9 diff Apr 3, 2023
updated 1.4.9 ← 1.4.8 diff Mar 27, 2023
new 1.4.8 Mar 23, 2023