The Microbiome and Epidemiology
Compositional data analysis of the microbiome: fundamentals, tools, and challenges

https://doi.org/10.1016/j.annepidem.2016.03.002Get rights and content

Abstract

Purpose

Human microbiome studies are within the realm of compositional data with the absolute abundances of microbes not recoverable from sequence data alone. In compositional data analysis, each sample consists of proportions of various organisms with a sum constrained to a constant. This simple feature can lead traditional statistical treatments when naively applied to produce errant results and spurious correlations.

Methods

We review the origins of compositionality in microbiome data, the theory and usage of compositional data analysis in this setting and some recent attempts at solutions to these problems.

Results

Microbiome sequence data sets are typically high dimensional, with the number of taxa much greater than the number of samples, and sparse as most taxa are only observed in a small number of samples. These features of microbiome sequence data interact with compositionality to produce additional challenges in analysis.

Conclusions

Despite sophisticated approaches to statistical transformation, the analysis of compositional data may remain a partially intractable problem, limiting inference. We suggest that current research needs include better generation of simulated data and further study of how the severity of compositional effects changes when sampling microbial communities of widely differing diversity.

Introduction

Compositional data are vectors of nonnegative elements constrained to sum to a constant. This simple feature of compositional data can have surprisingly adverse effects when traditional methods of multivariate statistics are naively used [1]. The dangers of ignoring the effects of compositionality were noted by Pearson, who recognized more than a century ago, that “spurious correlations” would result, should values constructed as proportions be compared haphazardly [2]. Compositional data is subject to the “closure problem” that occurs when components necessarily compete to make up the constant sum constraint [3]. This can cause large changes in the absolute abundance of one component to drive apparent changes in the measured abundance of others, violating the assumption of sample independence and creating inevitable errors in covariance estimates that can lead to bias and flawed inference. Diverse academic disciplines have begun to appreciate the complexity of the analysis of compositional data, ranging from forensics [4], [5] and psychology [6] to the assessment of antibiotic use [7] and nutritional epidemiology [8].

In the case of the microbiome sequencing surveys, the compositional nature of the data comes from the fact that a correction must be made for different samples having different numbers of sequences while the total absolute abundance of all bacteria in each sample is unknown. These complications arise from sample collection, polymerase chain reaction (PCR) amplification, and the sequencing technology itself from which the absolute abundances of bacteria are not recoverable from sequence counts, but the proportions of different taxa are still relevant. Numerous schemes are used in the literature to convert the number of sequences for each taxon within each sample to relative abundance with popular techniques, including proportional abundance and rarefying, the latter being the default choice in the popular Quantitative Insights Into Microbial Ecology pipeline [9], [10]. Neither of these approaches corrects for compositionality and it has been argued that this lack of correction has led to erroneous analyses that fail to discriminate between true and spurious correlations between taxa [11], [12]. However, it remains unclear whether these sorts of normalization schemes routinely produce spurious correlations in the study of complex microbial communities, like the gut, or whether errors due to compositionality are instead restricted to analysis of microbial communities where only a few taxa dominate, such as the vaginal microbiome.

In this review, we examine the historical literature on the compositionality problem and some modern approaches to its solution that have been proposed for the analysis of next-generation sequencing data sets. We track recent progress and indicate where we think more research is needed. We also emphasize that the analysis of compositional data will always be at least a partially intractable problem despite the development of sophisticated statistical transformations as the absolute abundances of microbes before sequencing can never be recovered from sequence data alone, and this will inevitably color inference based on compositional samples.

Section snippets

Compositional data sets are best analyzed after a log-ratio transformation

The initial literature on compositional data analysis has largely been attributed to a pioneering author, John Aitchison, whose classic treatise, “The Statistical Analysis of Compositional Data,” has remained enormously influential for nearly 3 decades [3]. However, Aitchison, developing his theory in the 1980s, was analyzing data sets considerably smaller than those of current next-generation sequencing. His examples were often sourced from geology and usually featured problems such as how

Compositional data analysis in practice

Ordination and dimensionality reduction of compositional data requires several important considerations with distance metrics being chief among them. The Aitchison distance, formed by the sum of log-ratio differences over all taxa, is one such means of working within the restrictions of the Aitchison geometry to retain metric properties [42]. In the metagenomics literature, however, distance measures and dissimilarities like Bray–Curtis and UniFrac are much more commonly used. It remains an

References (52)

  • M.L. Leite

    Applying compositional data methodology to nutritional epidemiology

    Stat Methods Med Res

    (2014)
  • J.G. Caporaso et al.

    QIIME allows analysis of high-throughput community sequencing data

    Nat Methods

    (2010)
  • J. Kuczynski et al.

    Using QIIME to Analyze 16S rRNA Gene Sequences from Microbial Communities

    Curr Protoc Microbiol

    (2012)
  • K. Faust et al.

    Microbial co-occurrence relationships in the Human Microbiome

    PLoS Comput Biol

    (2012)
  • D.A. Jackson

    Compositional data in community ecology: the paradigm or peril of proportions?

    Ecology

    (1997)
  • H. Li

    Microbiome, Metagenomics and High-Dimensional Compositional Data Analysis

    Annu Rev Stat Its Appl

    (2015)
  • Z.D. Kurtz et al.

    Sparse and compositionally robust inference of microbial ecological networks

    PLoS Comput Biol

    (2015)
  • M.M. Finucane et al.

    A taxonomic signature of obesity in the microbiome? Getting to the guts of the matter

    PLoS One

    (2014)
  • A.D. Fernandes et al.

    Unifying the analysis of high-throughput sequencing datasets: characterizing RNA-seq, 16S rRNA gene sequencing and selective growth experiments by compositional data analysis

    Microbiome

    (2014)
  • J.J. Egozcue et al.

    Isometric logratio transformations for compositional data analysis

    Math Geol

    (2003)
  • P.J. McMurdie et al.

    Waste not, want not: why rarefying microbiome data is inadmissible

    PLoS Comput Biol

    (2014)
  • S.J. Weiss et al.

    Effects of library size variance, sparsity, and compositionality on the analysis of microbiome data

    PeerJ Prepr

    (2015)
  • M.I. Love et al.

    Moderated estimation of fold change and dispersion for RNA-Seq data with DESeq2

    Genome Biol

    (2014)
  • S. Anders et al.

    Differential expression analysis for sequence count data

    Genome Biol

    (2010)
  • R. Kumar et al.

    Getting started with microbiome analysis: sample acquisition to bioinformatics

    Curr Protoc Hum Genet

    (2014)
  • S.J. Salter et al.

    Reagent and laboratory contamination can critically impact sequence-based microbiome analyses

    BMC Biol

    (2014)
  • Cited by (213)

    View all citing articles on Scopus
    View full text