microeco 2: A comprehensive R package for downstream analysis of microbiome omics data

Chi Liu , Xiangzhen Li , Felipe R. P. Mansoldo , Tong Chen , Fanzheng Meng , Ruixiang Tang , Siyu Zhou , Qinghua Yang , Ruixin Shao , Minjie Yao

iMeta ›› 2026, Vol. 5 ›› Issue (3) : e70132

PDF (1983KB)
iMeta ›› 2026, Vol. 5 ›› Issue (3) :e70132 DOI: 10.1002/imt2.70132
RESEARCH ARTICLE
microeco 2: A comprehensive R package for downstream analysis of microbiome omics data
Author information +
History +
PDF (1983KB)

Abstract

Efficient downstream analysis of microbiome data remains a major challenge for researchers. Since its initial release in late 2020, the R microeco package has been widely used for downstream statistical analysis and visualization of omics data, such as amplicon sequencing. Compared with its initial release, the current second version of the microeco package has undergone extensive updates and enhancements. The key upgrades include: (1) The addition of classes for data normalization and machine learning, respectively; (2) The incorporation of additional analytical methods and the addition of functions across various classes; (3) Optimization of the parameter system to expand the applicable scenarios of relevant methods; (4) Code restructuring to enhance the connectivity between statistical analysis and visualization within each class; (5) Extension of certain functions to enable the analysis of abundance data in complex formats generated from bioinformatic analyses of metagenomic/metatranscriptomic data; (6) Incorporation of several analytical methods commonly used in transcriptomic and metabolomic data analyses. Overall, the microeco package 2.0 offers broader method coverage and a wider range of application scenarios compared to the previous version and other existing R packages. The steady growth in user downloads demonstrates that the microeco package, which is built on R6 (a class-based object-oriented programming system for R), has established a broad and active user base. The second version of the microeco R package is open-source and available on the Comprehensive R Archive Network and GitHub (https://github.com/ChiLiubio/microeco).

Keywords

data normalization / diversified methods / function refactoring / machine learning metagenomics

Cite this article

Download citation ▾
Chi Liu, Xiangzhen Li, Felipe R. P. Mansoldo, Tong Chen, Fanzheng Meng, Ruixiang Tang, Siyu Zhou, Qinghua Yang, Ruixin Shao, Minjie Yao. microeco 2: A comprehensive R package for downstream analysis of microbiome omics data. iMeta, 2026, 5 (3) : e70132 DOI:10.1002/imt2.70132

登录浏览全文

4963

注册一个新账户 忘记密码

References

[1]

Liu, Yong-Xin, Yuan Qin, Tong Chen, Meiping Lu, Xubo Qian, Xiaoxuan Guo, and Yang Bai. 2021. “A Practical Guide to Amplicon and Metagenomic Analysis of Microbiome Data.” Protein & Cell 12(5): 315–330. https://doi.org/10.1007/s13238-020-00724-8

[2]

Wen, Tao, Guoqing Niu, Tong Chen, Qirong Shen, Jun Yuan, and Yong-Xin Liu. 2023. “The Best Practice for Microbiome Analysis Using R.” Protein & Cell 14(10): 713–725. https://doi.org/10.1093/procel/pwad024

[3]

Lu, Yao, Guangyan Zhou, Jessica Ewald, Zhiqiang Pang, Tanisha Shiri, and Jianguo Xia. 2023. “MicrobiomeAnalyst 2.0: Comprehensive Statistical, Functional and Integrative Analysis of Microbiome Data.” Nucleic Acids Research 51(W1): W310–W318. https://doi.org/10.1093/nar/gkad407

[4]

Chen, Tong, Yong-Xin Liu, Tao Chen, Mei Yang, Siqing Fan, Minglei Shi, Buqing Wei, et al. 2024. “ImageGP 2 for Enhanced Data Visualization and Reproducible Analysis in Biomedical Research.” iMeta 3(5), e239. https://doi.org/10.1002/imt2.239

[5]

Peng, Xi, Kai Feng, Xingsheng Yang, Qing He, Bo Zhao, Tong Li, Shang Wang, and Ye Deng. 2024. “iNAP 2.0: Harnessing Metabolic Complementarity in Microbial Network Analysis.” iMeta 3(5), e235. https://doi.org/10.1002/imt2.235

[6]

Oksanen, Jari, Gavin L. Simpson, F. Guillaume Blanchet, Roeland Kindt, Pierre Legendre, Peter R. Minchin, R. B. O'Hara, et al. 2025. Vegan: Community Ecology Package.

[7]

Wen, Tao, Yong-Xin Liu, Lanlan Liu, Guoqing Niu, Zhexu Ding, Xinyang Teng, Jie Ma, et al. 2025. “ggClusterNet 2: An R Package for Microbial Co-Occurrence Networks and Associated Indicator Correlation Patterns.” iMeta 4(3), e70041. https://doi.org/10.1002/imt2.70041

[8]

Mcmurdie, Paul J., and Susan Holmes. n.d 2013. “Phyloseq: An R Package for Reproducible Interactive Analysis and Graphics of Microbiome Census Data.” PLoS One 8(4): e61217. https://doi.org/10.1371/journal.pone.0061217

[9]

Liu, Chi, Yaoming Cui, Xiangzhen Li, and Minjie Yao. 2021. “microeco: An R Package For Data Mining in Microbial Community Ecology.” FEMS Microbiology Ecology 97(2), fiaa255. https://doi.org/10.1093/femsec/fiaa255

[10]

Xu, Shuangbin, Li Zhan, Wenli Tang, Qianwen Wang, Zehan Dai, Lang Zhou, Tingze Feng, et al. 2023. “MicrobiotaProcess: A Comprehensive R Package for Deep Mining Microbiome.” The Innovation 4(2), 100388. https://doi.org/10.1016/j.xinn.2023.100388

[11]

Liu, Yong-Xin, Lei Chen, Tengfei Ma, Xiaofang Li, Maosheng Zheng, Xin Zhou, Liang Chen, et al. 2023. “EasyAmplicon: An Easy-To-Use, Open-Source, Reproducible, and Community-Based Pipeline for Amplicon Data Analysis in Microbiome Research.” iMeta 2(1), e83. https://doi.org/10.1002/imt2.83

[12]

Bai, Defeng, Chuang Ma, Jiani Xun, Hao Luo, Haifei Yang, Hujie Lyu, Zhihao Zhu, et al. 2025. “MicrobiomeStatPlots: Microbiome Statistics Plotting Gallery for Meta-Omics and Bioinformatics.” iMeta 4(1), e70002. https://doi.org/10.1002/imt2.70002

[13]

Beghini, Francesco, Lauren J. McIver, Aitor Blanco-Míguez, Leonard Dubois, Francesco Asnicar, Sagun Maharjan, Ana Mailyan, et al. 2021. “Integrating Taxonomic, Functional, and Strain-Level Profiling of Diverse Microbial Communities With Biobakery 3.” eLife 10: e65088. https://doi.org/10.7554/eLife.65088

[14]

Caspi, Ron, Richard Billington, Ingrid M. Keseler, Anamika Kothari, Markus Krummenacker, Peter E. Midford, Wai Kit Ong, et al. 2020. “The MetaCyc Database of Metabolic Pathways and Enzymes - A 2019 Update.” Nucleic Acids Research 48(D1): D445–D453. https://doi.org/10.1093/nar/gkz862

[15]

Nearing, Jacob T., Gavin M. Douglas, Molly G. Hayes, Jocelyn MacDonald, Dhwani K. Desai, Nicole Allward, Casey M. A. Jones, et al. 2022. “Microbiome Differential Abundance Methods Produce Different Results Across 38 Datasets.” Nature Communications 13: 342. https://doi.org/10.1038/s41467-022-28034-z

[16]

Liu, Chi, Felipe R. P. Mansoldo, Hankang Li, Alane Beatriz Vermelho, Raymond Jianxiong Zeng, Xiangzhen Li, and Minjie Yao. 2026. “A Workflow for Statistical Analysis and Visualization of Microbiome Omics Data Using the R Microeco Package.” Nature Protocols 21: 1300–1324. https://doi.org/10.1038/s41596-025-01239-4

[17]

Liu, Chi, Jialong Wang, Yaosheng Wang, Lujun Li, Zhihan Feng, Yuchen Xian, Yanqiong Jiang, et al. 2025. “Crop Rotation and Fertilization Shape the Microbiomes of Maize Rhizosphere Soil With Distinct Mechanisms.” Plant and Soil 507: 89–108. https://doi.org/10.1007/s11104-024-06847-9

[18]

Liu, Chi, Na Li, Min Xiao, Xiangzhen Li, and Minjie Yao. 2024. “Different Assembly Mechanisms Between Prokaryotic and Fungal Communities in Grassland Plants and Soil.” Plant and Soil 505: 299–315. https://doi.org/10.1007/s11104-024-06676-w

[19]

Liu, Chi, Chaonan Li, Yanqiong Jiang, Raymond J. Zeng, Minjie Yao, and Xiangzhen Li. 2023. “A Guide for Comparing Microbial Co-Occurrence Networks.” iMeta 2(1), e71. https://doi.org/10.1002/imt2.71

[20]

Liu, Chi, Jiahui Luo, Chunmiao Lu, Tianlong Sheng, Raymond Jianxiong Zeng, Xiangzhen Li, and Minjie Yao. 2025. “Mecoturn: An R Package for Deciphering Microbial Turnover Patterns Along Gradients.” Soil Ecology Letters 7(4), 250355. https://doi.org/10.1007/s42832-025-0355-6

[21]

Swift, Dionne, Kellen Cresswell, Robert Johnson, Spiro Stilianoudakis, and Xingtao Wei. 2022. “A Review of Normalization and Differential Abundance Methods for Microbiome Counts Data.” WIREs Computational Statistics 15(1), e1586. https://doi.org/10.1002/wics.1586

[22]

McMurdie, Paul J., and Susan Holmes. 2014. “Waste Not, Want Not: Why Rarefying Microbiome Data Is Inadmissible.” PLoS Computational Biology 10(4): e1003531. https://doi.org/10.1371/journal.pcbi.1003531

[23]

Beule, Lukas, and Petr Karlovsky. 2020. “Improved Normalization of Species Count Data in Ecology By Scaling With Ranked Subsampling (SRS): Application to Microbial Communities.” PeerJ 8: e9593. https://doi.org/10.7717/peerj.9593

[24]

Greenacre, Michael. 2021. “Compositional Data Analysis.” Annual Review of Statistics and Its Application 8: 271–299. https://doi.org/10.1146/annurev-statistics-042720-124436

[25]

Martino, Cameron, James T. Morton, Clarisse A. Marotz, Luke R. Thompson, Anupriya Tripathi, Rob Knight, and Karsten Zengler. 2019. “A Novel Sparse Compositional Technique Reveals Microbial Perturbations.” mSystems 4(1): e00016–e00019. https://doi.org/10.1128/msystems.00016-19

[26]

Paulson, Joseph N., O. Colin Stine, Héctor Corrada Bravo, and Mihai Pop. 2013. “Differential Abundance Analysis for Microbial Marker-Gene Surveys.” Nature Methods 10(12): 1200–1202. https://doi.org/10.1038/nmeth.2658

[27]

Chen, Li, James Reeve, Lujun Zhang, Shengbing Huang, Xuefeng Wang, and Jun Chen. 2018. “GMPR: A Robust Normalization Method for Zero-Inflated Count Data With Application to Microbiome Sequencing Data.” PeerJ 6: e4600. https://doi.org/10.7717/peerj.4600

[28]

Kumar, M. Senthil, Eric V. Slud, Kwame Okrah, Stephanie C. Hicks, Sridhar Hannenhalli, and Héctor Corrada Bravo. 2018. “Analysis and Correction of Compositional Bias in Sparse Sequencing Count Data.” BMC Genomics 19(1): 799. https://doi.org/10.1186/s12864-018-5160-5

[29]

Walsh, Corinne, Elías Stallard-Olivera, and Noah Fierer. 2024. “Nine (Not so Simple) Steps: A Practical Guide to Using Machine Learning in Microbial Ecology.” mBio 15(2): e02050–23. https://doi.org/10.1128/mbio.02050-23

[30]

Kuhn, Max. 2008. “Building Predictive Models in R Using the Caret Package.” Journal of Statistical Software 28(5): 1–26. https://doi.org/10.18637/jss.v028.i05

[31]

Kursa, Miron B., and Witold R. Rudnicki. 2010. “Feature Selection With the Boruta Package.” Journal of Statistical Software 36(11): 1–13. https://doi.org/10.18637/jss.v036.i11

[32]

Wei, Runmin, and Jingye Wang. 2018. multiROC: Calculating and Visualizing ROC and PR Curves Across Multi-Class Classifications.

[33]

Archer, Eric. 2025. “rf.” Permute: Estimate Permutation p-Values for Random Forest Importance Metrics.

[34]

Ogle, Derek H., Jason C. Doll, A. Powell Wheeler, and Alexis Dinno. 2025. FSA: Simple Fisheries Stock Assessment Methods.

[35]

Kuznetsova, Alexandra, Per B. Brockhoff, and Rune H. B. Christensen. 2017. “lmerTest Package: Tests in Linear Mixed Effects Models.” Journal of Statistical Software 82(13): 1–26. https://doi.org/10.18637/jss.v082.i13

[36]

Fernandes, Andrew D., Jennifer N. S. Reid, Jean M. Macklaim, Thomas A. McMurrough, David R. Edgell, and Gregory B. Gloor. 2014. “Unifying the Analysis of High-Throughput Sequencing Datasets: Characterizing RNA-seq, 16S rRNA Gene Sequencing and Selective Growth Experiments by Compositional Data Analysis.” Microbiome 2(1): 15. https://doi.org/10.1186/2049-2618-2-15

[37]

Lin, Huang, and Shyamal Das Peddada. 2020. “Analysis of Compositions of Microbiomes With Bias Correction.” Nature Communications 11: 3514. https://doi.org/10.1038/s41467-020-17041-7

[38]

Zhou, Huijuan, Kejun He, Jun Chen, and Xianyang Zhang. 2022. “LinDA: Linear Models for Differential Abundance Analysis of Microbiome Compositional Data.” Genome Biology 23(1): 95. https://doi.org/10.1186/s13059-022-02655-5

[39]

McGillycuddy, Maeve, David I. Warton, Gordana Popovic, and Benjamin M. Bolker. 2025. “Parsimoniously Fitting Large Multivariate Random Effects in glmmTMB.” Journal of Statistical Software 112(1): 1–19. https://doi.org/10.18637/jss.v112.i01

[40]

Li, Chenhao, Tamar V. Av-Shalom, Jun Wei Gerald Tan, Junmei Samantha Kwah, Kern Rei Chng, and Niranjan Nagarajan. 2021. “BEEM-Static: Accurate Inference of Ecological Interactions from Cross-Sectional Microbiome Data.” PLoS Computational Biology 17(9): e1009343. https://doi.org/10.1371/journal.pcbi.1009343

[41]

Põlme, Sergei, Kessy Abarenkov, R. Henrik Nilsson, Björn D. Lindahl, Karina Engelbrecht Clemmensen, Havard Kauserud, Nhu Nguyen, et al. 2020. “FungalTraits: A User-Friendly Traits Database of Fungi and Fungus-Like Stramenopiles.” Fungal Diversity 105: 1–16. https://doi.org/10.1007/s13225-020-00466-2

[42]

Lim, Roktaek, Josephine Jill T. Cabatbat, Thomas L. P. Martin, Haneul Kim, Seunghyeon Kim, Jaeyun Sung, Cheol-Min Ghim, and Pan-Jun Kim. 2020. “Large-Scale Metabolic Interaction Network of the Mouse and Human Gut Microbiota.” Scientific Data 7(1): 204. https://doi.org/10.1038/s41597-020-0516-5

[43]

Ning, Daliang, Ye Deng, James M. Tiedje, and Jizhong Zhou. 2019. “A General Framework for Quantitatively Assessing Ecological Stochasticity.” Proceedings of the National Academy of Sciences 116(34): 16892–16898. https://doi.org/10.1073/pnas.1904623116

[44]

Wemheuer, Franziska, Jessica A. Taylor, Rolf Daniel, Emma Johnston, Peter Meinicke, Torsten Thomas, and Bernd Wemheuer. 2020. “Tax4Fun2: Prediction of Habitat-Specific Functional Profiles and Functional Redundancy Based on 16S rRNA Gene Sequences.” Environmental Microbiome 15: 11. https://doi.org/10.1186/s40793-020-00358-7

[45]

Kim, Seongho. 2015. “ppcor.” Partial and Semi-partial (part) Correlation.

[46]

Love, Michael I., Wolfgang Huber, and Simon Anders. 2014. “Moderated Estimation of Fold Change and Dispersion for RNA-seq Data With DESeq. 2.” Genome Biology 15(12): 550. https://doi.org/10.1186/s13059-014-0550-8

[47]

Robinson, Mark D., and Alicia Oshlack. 2010. “A Scaling Normalization Method for Differential Expression Analysis of RNA-seq Data.” Genome Biology 11(3), R25. https://doi.org/10.1186/gb-2010-11-3-r25

[48]

Nickols, William A., Thomas Kuntz, Jiaxian Shen, Sagun Maharjan, Himel Mallick, Eric A. Franzosa, Kelsey N. Thompson, Jacob T. Nearing, and Curtis Huttenhower. 2026. “MaAsLin 3: Refining and Extending Generalized Multivariable Linear Models for Meta-Omic Association Discovery.” Nature Methods 23: 554–564. https://doi.org/10.1038/s41592-025-02923-9

[49]

Thévenot, Etienne A., Aurélie Roux, Ying Xu, Eric Ezan, and Christophe Junot. 2015. “Analysis of the Human Adult Urinary Metabolome Variations With Age, Body Mass Index and Gender by Implementing a Comprehensive Workflow for Univariate and OPLS Statistical Analyses.” Journal of Proteome Research 14(8): 3322–3335. https://doi.org/10.1021/acs.jproteome.5b00354

[50]

Wang, Xiao, Yijiang Liu, Chao Jiang, Zinuo Huang, Hong Yan, Sunny H. Wong, Caroline H. Johnson, et al. 2026. “TidyMass2: Advancing LC-MS Untargeted Metabolomics Through Metabolite Origin Inference and Metabolic Feature-Based Functional Module Analysis.” Nature Communications 17: 1755. https://doi.org/10.1038/s41467-026-68464-7.

[51]

Tu, Qichao, Lu Lin, Lei Cheng, Ye Deng, and Zhili He. 2018. “NCycDB: A Curated Integrative Database for Fast and Accurate Metagenomic Profiling of Nitrogen Cycling Genes.” Bioinformatics 35(6): 1040–1048. https://doi.org/10.1093/bioinformatics/bty741

[52]

Liu, Chi, Xiangzhen Li, Felipe R. P. Mansoldo, Jiaxing An, Yongping Kou, Xiao Zhang, Junming Wang, et al. 2022. “Microbial Habitat Specificity Largely Affects Microbial Co-Occurrence Patterns and Functional Profiles in Wetland Soils.” Geoderma 418: 115866. https://doi.org/10.1016/j.geoderma.2022.115866

Rights & permissions

2026 The Author(s). iMeta published by John Wiley & Sons Australia, Ltd on behalf of iMeta Science.

PDF (1983KB)

0

Accesses

0

Citation

Detail

Sections
Recommended

/

〈 〉