1  Packages

mia logo

mia logo

The Bioconductor microbiome data science framework consists of:

This section provides an overview of the package ecosystem. Section 2.3 links to various open microbiome data resources that support this framework.

1.1 Package installation

You can install all packages that are required to run every example in this book via the following command:

remotes::install_github('microbiome/OMA')

1.1.1 Installing specific packages

You can install R packages of your choice with the following command line procedure.

Bioconductor development version requires the installation of the latest R beta version. This is primarily recommended for those who already have experience with R/Bioconductor and need access to the latest updates.

BiocManager::install("microbiome/mia", version="devel")

Github development version provides access to the latest but potentially unstable features. This is useful when you want access to all available tools.

devtools::install_github("microbiome/mia")

If you encounter installation issue related to package dependencies please see the troubleshoot page here.

2 ## Package ecosystem

2.1 Package ecosystem

Methods for (Tree)SummarizedExperiment and MultiAssayExperiment data containers are provided by multiple independent developers through R/Bioconductor packages. Some of these are listed below (tips on new packages are welcome).

2.1.1 mia package family

The mia package family provides general methods for microbiome data wrangling, analysis and visualization.

Ernst, Felix G. M., Sudarshan Shetty, and Leo Lahti. 2020. Mia: Microbiome Analysis.
Ernst, Felix G. M., Tuomas Borman, and Leo Lahti. 2022. miaViz: Microbiome Analysis Plotting and Visualization.
Simsek, Yagmur, Leo Lahti, Daniel Garza, and Karoline Faust. 2021. “miaSim r Package.” microbiome.github.io/miaSim.
Lahti, L. 2021. miaTime: Time Series Analysis.

2.1.2 Differential abundance

The following DA methods support (Tree)SummarizedExperiment.

  • ANCOMBC for differential abundance analysis
  • benchdamic for benchmarking differential abundance methods
  • ALDEx2 for differential abundance analysis

2.1.3 Other packages

  • philr (Silverman et al. (2017)) phylogeny-aware phILR transformation
  • MicrobiotaProcess for “tidy” analysis of microbiome and other ecological data
  • Tools for Microbiome Analysis site listed over 130 R packages for microbiome data science in
    1. Many of these are not in Bioconductor, or do not directly support the data containers used in this book but can be often used with minor modifications. The phyloseq-based tools can be used by converting the TreeSE data into phyloseq with makePhyloseqFromTreeSummarizedExperiment.
Silverman, Justin D, Alex D Washburne, Sayan Mukherjee, and Lawrence A David. 2017. “A Phylogenetic Transform Enhances Analysis of Compositional Microbiota Data.” eLife 6. https://doi.org/10.7554/eLife.21887.

2.1.4 Open microbiome data

Hundreds of published microbiome data sets are readily available in these data containers (see Section 2.3).

Back to top