Skip to main content
Nature Communications logoLink to Nature Communications
. 2020 Jul 14;11:3514. doi: 10.1038/s41467-020-17041-7

Analysis of compositions of microbiomes with bias correction

Huang Lin 1, Shyamal Das Peddada 1,
PMCID: PMC7360769  PMID: 32665548

Abstract

Differential abundance (DA) analysis of microbiome data continues to be a challenging problem due to the complexity of the data. In this article we define the notion of “sampling fraction” and demonstrate a major hurdle in performing DA analysis of microbiome data is the bias introduced by differences in the sampling fractions across samples. We introduce a methodology called Analysis of Compositions of Microbiomes with Bias Correction (ANCOM-BC), which estimates the unknown sampling fractions and corrects the bias induced by their differences among samples. The absolute abundance data are modeled using a linear regression framework. This formulation makes a fundamental advancement in the field because, unlike the existing methods, it (a) provides statistically valid test with appropriate p-values, (b) provides confidence intervals for differential abundance of each taxon, (c) controls the False Discovery Rate (FDR), (d) maintains adequate power, and (e) is computationally simple to implement.

Subject terms: Computational biology and bioinformatics, Microbiology, Ecology


Differential abundance analysis of microbiome data continues to be challenging due to data complexity. The authors propose a method which estimates the unknown sampling fractions and corrects the bias induced by their differences among samples.

Introduction

A number of procedures have been proposed and used in the literature for identifying deferentially abundant taxa between two or more ecosystems. A detailed survey of some of the existing methods and their performance has been discussed in Weiss et al.1. As noted in a list of studies26, the observed microbiome data are relative abundances which sum to a constant, hence they are compositional. Standard statistical methods are not appropriate for analyzing compositional data7. Methods such as ANOVA, Kruskal–Wallis test do not appropriately take into consideration the compositional feature of microbiome data when performing differential abundance (DA) analysis. As demonstrated in literatures1,2, these methods are subject to inflated false discovery rates (FDR). Although metagenomeSeq8 was specifically developed for microbiome data, it too is subject to inflated FDR under the Gaussian mixture model1,2.

ANCOM2, which is based on Aitchison’s methodology, uses relative abundances to infer about absolute abundances. According to an extensive simulation study1, among the available methods for DA analysis, only ANCOM performs well in controlling FDR while maintaining high power, as long as the sample size is not too small. One of the deficiencies of ANCOM is that it does not provide p value for individual taxon, nor can it provide standard errors or confidence intervals of DA for each taxon, and it can be computationally intensive.

The Differential Ranking (DR) methodology6 reformulates the DA analysis as a multinomial regression problem. By imposing the Additive Log-Ratio transformation to relative abundances, the DR methodology accounts for compositionality of microbiome data. As demonstrated in6, the ranks of relative differentials perfectly correlate with ranks of absolute differentials. However, similar to ANCOM, the DR procedure does not provide p values or confidence intervals to declare statistical significance.

It is important to distinguish between absolute and relative abundances of taxa in a unit volume of an ecosystem. Change in the absolute abundance of a single taxon can alter the relative abundances of all taxa (Fig. 1). The choice of parameter for statistical analysis is important and needs to be clearly stated. Often researchers are interested in identifying taxa that are different in mean absolute abundance between two or more ecosystems6. Testing hypotheses regarding mean relative abundance is not equivalent to testing hypotheses regarding mean absolute abundance2,6. In addition, note that not all samples have the same sampling fraction, which is defined as the ratio of the expected absolute abundance of a taxon in a random sample (e.g., a stool sample) to its absolute abundance in a unit volume of the ecosystem (e.g., a unit volume of gut) where the sample was derived from. Consequently, the observed counts are not comparable between samples. Thus, all DA methodologies require the counts to be properly normalized to account for differences in sampling fractions across samples. Sampling fraction is affected by two components, namely, the microbial load in a unit volume of the ecosystem and the library size of the corresponding sample (e.g., total species abundances sequenced from a subject’s stool sample). Therefore, it is not sufficient to normalize the library size across samples as one needs to take into consideration the differences in the microbial loads. Consider the toy example in Fig. 2. Suppose the gut of subject A as well as B consist of only two taxa, the red and green varieties. Clearly, the true absolute abundance of each taxon is 50% more in subject B’s ecosystem as compared with subject A’s. However, they each have the same library size (six each) in their respective samples. Furthermore, sample relative abundance as well as sample absolute abundances are identical in the two samples. If a normalization method is based only on the library size and ignores the sampling fraction, then the two samples would be considered as normalized. Consequently, an investigator would falsely conclude that none of the taxa are differentially abundant in the two ecosystems. This erroneous conclusion would be avoided if one recognizes that we have a larger sampling fraction in the sample obtained from A’s ecosystem than from B’s (39 vs 29), Thus, normalizing data on the basis of sampling fractions gives a better description of the truth than normalization methods that rely purely on the library sizes.

Fig. 1. The distinction between absolute abundances and relative abundances.

Fig. 1

As shown in this figure, all taxa (in different colors and shapes) may be identically abundant in a unit volume of two ecosystems (e.g., a unit volume of gut), except for one differentially abundant taxon (the green variety). Due to this one differentially abundant taxon, the two ecosystems may differ in the relative abundance of all taxa. A researcher may not only be interested in knowing if the mean relative abundance of a taxon is different between two ecosystems but may also want to know if the absolute abundance of a taxon is different in a unit volume of two ecosystems.

Fig. 2. The bias introduced by cross-sample variations in sampling fractions.

Fig. 2

Sampling fraction is defined as the ratio of expected absolute abundance in a sample to the corresponding absolute abundance in the ecosystem, which could be empirically estimated by the ratio of library size to the microbial load. Differences in sampling fractions may introduce bias and increase in false positive as well as false negative rates in differential abundance analysis. In this toy example, the microbial load for subject A in a unit volume of ecosystem (e.g., a unit volume of gut) is 18 (12 red + 6 green), while for subject B is 27 (18 red + 9 green). However, the samples taken from subject A and B have the same library size 6 (4 red + 2 green), the same observed absolute abundance as well as the same relative abundance of red and green taxa. Thus, one may mistakenly conclude that the red and green taxa are not differentially abundant, which is not the case in the two ecosystems. This false negative conclusion is caused by differences in the sampling fractions in the two samples. The sampling fraction in sample A is 3/9 and for B it is 2/9. One can similarly construct examples where a false positive conclusion is arrived at. Thus, a normalization method must account for differences in sampling fractions to avoid such erroneous conclusions.

Ideally, under the null hypothesis, the test statistic for DA analysis should be (at least approximately) centered at zero (i.e., unbiased). However, for many DA methods, this is not always true for at least one of the following reasons: (1) The test statistic may not be designed for testing hypothesis regarding the actual parameter of interest; (2) Data are not properly normalized; (3) Underlying structure, such as compositionality, is ignored. Motivated by the limitations of existing DA methods, in this paper we propose a methodology called Analysis of Compositions of Microbiomes with Bias Correction (ANCOM-BC) that is aimed to address the problems mentioned above. As in ANCOM and DR, the proposed ANCOM-BC methodology assumes that the observed sample is an unknown fraction of a unit volume of the ecosystem, and the sampling fraction varies from sample to sample. ANCOM-BC accounts for sampling fraction by introducing a sample-specific offset term in a linear regression framework, that is estimated from the observed data. The offset term serves as the bias correction, and the linear regression framework in log scale is analogous to log-ratio transformation to deal with the compositionality of microbiome data. The case of zero counts is also discussed in “Methods” section. This methodology has some conceptual similarities with DR, but is fundamentally different. With ANCOM-BC, one can perform standard statistical tests and construct confidence intervals for DA. Moreover, as demonstrated in benchmark simulation studies, ANCOM-BC (a) controls the FDR very well while maintaining adequate power compared with other popular methods, and (b) it is substantially faster than ANCOM. The CPU time (RStudio, x86_64-apple-darwin15.6.0, and macOS) is 0.28 min vs. 63 min when the number of taxa is 500. The CPU time for ANCOM increases dramatically as the number of taxa increases to 1000. In this case, the CPU times for ANCOM-BC and ANCOM are 0.51 and 211 min, respectively. In addition to results based on synthetic data, we also illustrate ANCOM-BC using the well-known global gut microbiota dataset9.

Results

Normalization

Using simulated data, we illustrate how the existing normalization methods fail to eliminate the bias introduced by differences in sampling fractions across samples, whereas the normalization method introduced in ANCOM-BC performs well. Specifically, we compare our proposed method with Cumulative-Sum Scaling (CSS) implemented in metagenomeSeq8, Median (MED) in DESeq210, Upper Quartile (UQ) and Trimmed Mean of M values (TMM), and Total-Sum Scaling (TSS). In addition, we also considered modified versions of UQ and TMM implemented in edgeR11. These are obtained by multiplying the normalization factors with the corresponding library size to account for “effective library size”12, and are denoted as ELib-UQ and ELib-TMM (see Supplementary Table 7 for formulas and Supplementary Fig. 11 for workflow).

We considered a variety of simulation scenarios as follows. The details of the simulation study are presented in the Supplementary Notes.

  1. Unbalanced microbial load in two experimental groups and balanced library size for each sample. This results in a large variability in sampling fractions (Fig. 3).

  2. Unbalanced microbial load in two experimental groups and unbalanced library size for each sample. This results in a moderate variability in sampling fractions (Supplementary Fig. 1).

  3. Balanced microbial load in two experimental groups and balanced library size for each sample. This results in a small variability in sampling fractions (Supplementary Fig. 2).

Fig. 3. Box plot of residuals between true sampling fraction and its estimate for each sample.

Fig. 3

In the box plot, the lower and upper hinges correspond to the first and third quartiles (the 25th and 75th percentiles). The median is represented by a solid line within the box. The upper whisker extends from the hinge to the largest value (maxima) no further than 1.5 times Interquartile Range (IQR, distance between the first and third quartiles) from the hinge, the lower whisker extends from the hinge to the smallest value (minima) at most 1.5 times IQR of the hinge. Data beyond the end of the whiskers are called “outlying” points. N = 30 samples examined over two experimental groups (denoted by circles and triangles) and the data points are overlaid in each box. Text on the upper left corner indicates the color for each method and variances are provided within parenthesis for each method. The variability in sampling fractions is set to be large. An ideal box plot should display a narrow height (i.e., smaller variability) and samples from the two groups should be intermixed and not display any systematic separation. We note that all existing methods have larger variances compared with ANCOM-BC, and TSS has the largest variance. Except ANCOM-BC, UQ, and TMM, we see from the plot that circles and triangles are systematically separated, which indicates that ELib-UQ, ELib-TMM, CSS, MED, and TSS do not account for systematic bias due to differences in sampling fractions across groups.

Thus, we simulated data where sampling fraction in Group 1 is systematically different from sampling fraction in Group 2. Consequently, observed absolute abundances in the samples in the two groups were systematically different even though the actual absolute abundances in the ecosystems are same. To evaluate the performance of each normalization method, we introduced a residual measure that estimates the deviation between the estimated sampling fraction and the true sampling fraction (see Supplementary Discussion). For simplicity of exposition, we plotted the centered residuals, by subtracting the group average of the residuals. If a normalization method is effective then it should eliminate the bias due to the differences in the sampling fractions so that samples from the two groups (circles and triangles) in Fig. 3 should intermix and not cluster by the group labels.

From Fig. 3 (and Supplementary Figs. 1, 2) we notice that the samples normalized by ANCOM-BC are nicely intermixed and do not cluster by the group labels. This is not the case with most of the remaining methods where residuals cluster by group labels, thus indicating that they are unable to eliminate the underlying differences in sampling fractions between the two groups. Thus, under the null hypothesis of no difference in the absolute abundance of a taxon in two groups, their test statistics are not centered at zero. This results in inflated FDR (see Supplementary Discussion). We also note from Fig. 3 and Supplementary Figs. 1, 2, that not only ANCOM-BC does well in estimating the bias due to differences in sampling fraction, the variability in the estimates of the sampling fractions is very small as seen from the height of the box plot for ANCOM-BC. This is an important observation because it suggests that the variability in the estimator of bias due to sampling fraction is potentially negligible in the test statistic described in “Methods” section.

Clearly, as seen in Fig. 4a, b and Supplementary Figs. 3a, b, 4a,b, the normalization of data has a major effect on the FDR and power of various methods.

Fig. 4. FDR and power comparisons using synthetic data from Poisson-Gamma distributions.

Fig. 4

The False Discovery Rate (FDR) and power of various differential abundance (DA) analyses (two-sided) are shown in a and b, respectively. The variability in sampling fractions is set to be large. The Y-axis denotes patterns of proportion of differentially abundant taxa. The solid vertical line is the 5% nominal level of FDR, and the dashed vertical line denotes 5% nominal level plus one standard error (SE). By default, ANCOM-BC implements Bonferroni correction and other DA methods implement BH procedure to adjust for multiple comparisons. Color and the name of the corresponding DA method are shown at the bottom within the graph. Two simulation scenarios are considered: small and unbalanced data (n1 = 20, n2 = 30), as well as large and balanced data (n1 = n2 = 50); number of simulations = 100. Results show that only ANCOM and ANCOM-BC control the FDR under the nominal level (5%) while maintaining power comparable with other methods. Gaussian model version of metagenomeSeq has highly inflated FDR, while the log-Gaussian version has substantial loss of power, sometimes well below 5%. Other than ANCOM-BC and ANCOM, as the sample size within each group increases, so does the FDR for all other existing methods.

DA analyses

Simulating data from Poisson-Gamma distributions (see Supplementary Notes for simulation settings and Supplementary Fig. 12 for workflow), we evaluated the performance of various methods in terms of FDR and power. Since there is no hard threshold available for DR to declare whether a taxon is differentially abundant or not, it was not included in this simulation study.

Not surprisingly, standard Wilcoxon rank-sum test applied to relative abundance data leads to highly inflated FDR (Fig. 4a and Supplementary Figs. 3a, 4a) in all simulation scenarios. This is primarily because such standard tests ignore the compositional structure of the data, and seen from Fig. 3, TSS does not successfully normalize the data. Simply applying nonparametric tests without any normalization can also be problematic when the sampling fractions are different across experimental groups (Fig. 4a). The two widely used count-based methods in RNA-Seq literature, edgeR (implemented using ELib-TMM12 by default) and DESeq2, generally exceed the 5% nominal FDR level when there are differences in sampling fractions (Fig. 4a and Supplementary Fig. 3a). For instance, edgeR has FDR as large as 40% (Fig. 4a), meaning that 40% of findings could be potentially false discoveries. The zero-inflated Gaussian mixture model used in metagenomeSeq (ZIG) consistently has the largest FDR when sampling fractions are not constant (Fig. 4a and Supplementary Fig. 3a). In some cases, the FDR could be as much as 70%, which perhaps is partly due to the Gaussian distribution assumption for log abundance data. Although metagenomeSeq using zero-inflated Log-Gaussian mixture model successfully controls the FDR under 5% in all simulations, it suffers a severe loss of power (Fig. 4b and Supplementary Figs. 3b, 4b). The power of detecting differentially abundant taxa could be lower than 10%.

Similar to ANCOM, ANCOM-BC not only controls the FDR at the nominal level (5%) but also maintains adequate power in all simulation settings considered here. An important observation to be made regarding all methods, other than ANCOM and ANCOM-BC, is that as the sample size within each group increases, so does the FDR. This is perhaps a consequence of the fact that the test statistics are not centered at the true null parameter but are shifted due to differences in the sampling fraction. Hence asymptotically, these tests fail to control the false positive as well as FDR (see Supplementary Discussion).

In addition to the above Poisson-Gamma model, we performed simulations using the real global patterns data13, to get a broader perspective on the performance of the various methods (see Supplementary Notes for simulation details). In this case again, ANCOM and ANCOM-BC controlled the FDR and competed well in terms of power with all other methods. The estimated FDR of DESeq2 and edgeR increased further in this simulation set-up (Supplementary Fig. 5a, b) compared with the simulation using Poisson-Gamma distribution. Note that DESeq2 and edgeR were designed for Poisson-Gamma distribution, and hence it is not surprising that these methods performed poorly in this new set-up.

Illustration using gut microbiota data

We illustrate ANCOM-BC by analyzing the US, Malawi and Venezuela gut microbiota data9. This dataset consists of 11,905 OTUs obtained from subjects in the USA (n = 317), Malawi (n = 114), and Venezuela (n = 99). We first assessed the performance of different normalization methods mentioned above. One heuristic approach to gain insights on the impact of normalization is to examine how well the normalized samples separate from each other according to their phenotypes in a nonmetric multidimensional scaling (NMDS) plot. We provide the results for Malawi and Venezuela populations in Fig. 5.

Fig. 5. Non-metric multidimensional scaling (NMDS) visualizations of normalized data.

Fig. 5

First two NMDS coordinates are used to evaluate the performance of various normalization methods (ANCOM-BC, ELib-UQ, ELib-TMM, CSS, MED, UQ, TMM, and TSS) applied on Malawi and Venezuela samples of the global gut microbiota data at genus level. Samples from Malawi are colored in red while samples from Venezuela are colored in green. Visually, ANCOM-BC, ELib-TMM, MED, and CSS appear to provide best separation between Malawi and Venezuela samples. Quantitatively, in terms of Between-Group Sum of Squares (BSS), standardized by Total Sum of Squares (TSS) so that all methods are comparable, ANCOM-BC has the largest BSS, followed by ELib-TMM, and MED. Rest of the methods perform poorly both visually as well as quantitatively with small BSS values. These findings appear to be consistent with results of the synthetic data shown in Fig. 3 and Supplementary Figs. 1, 2.

As seen from this figure, ANCOM-BC appears to perform very well visually in separating samples from the two populations and has the largest between-group sum of squares (BSS). BSS measures how well clusters are separated. Larger the BSS value the better a method is in clustering objects according to group labels. ELib-TMM, CSS, and MED also performed well. Consistent with the bias correction and FDR/Power simulations reported in Figs. 3 and 4, where ELib-UQ, UQ, TMM, and TSS perform poorly in correcting biases and have poor FDR control, they also have poor performances in distinguishing samples based on their nationalities.

We also report results of pairwise DA analyses at phylum level among the above three countries using ANCOM-BC. It is well-known that the infant gut microbiota evolve with their age14 due to changes in the feeding patterns, diet, and other exposures. Hence, for illustration purposes, we performed a stratified analysis by considering two age groups, infants below 2 years (labeled as “infants”) and adults between 18 and 40 (labeled as “adults”). Results of all pairwise comparisons are provided in Fig. 6a and Supplementary Table 1. Note that ANCOM-BC is the first method in the literature that can not only identify differentially abundant taxa while controlling the FDR for multiple testing, it also provides 95% simultaneous confidence intervals for the mean DA of each taxon in the two experimental groups. These confidence intervals are adjusted for multiplicity using Bonferroni method. Thus, a researcher can evaluate the effect size associated with each taxon when comparing two experimental groups. This is particularly important in the present climate when researchers are increasingly skeptical about making decisions based on p values (alone)15.

Fig. 6. Analysis of the global gut microbiota data in phylum level.

Fig. 6

Data are represented by effect size (log fold change) and 95% confidence interval bars (two-sided; Bonferroni adjusted) derived from the ANCOM-BC model. All effect sizes with adjusted p < 0.05 are indicated, *significant at 5% level of significance; **significant at 1% level of significance; ***significant at 0.1% level of significance. Exact adjusted p values can be found in Supplementary Table 1. Diamonds on top of some bars indicate structural zeros. a Pairwise differential abundance analyses stratified by age using ANCOM-BC: Infants (age ≤ 2 years, n  = 133), and adults (18 ≤ age ≤ 40, n = 83). Infant samples are colored in red and adult samples are colored in green. Phyla Acidobacteria and Chloroflexi are not represented in the plot since they are present only in Venezuela samples. b Pairwise tests using ANCOM-BC for the equality of mean log ratio of Bacteroidetes to Firmicutes stratified by age. Viewing b and Supplementary Table 2 together, lower BMI seems to be associated with higher levels of the Bacteroidetes to Firmicutes ratio, a result widely acknowledged in the literature.

Interestingly, phyla such as Cyanobacteria, Elusimicrobia, Euryarchaeota, and Spirochetes, which are known to be associated with rural environment and hygiene1619, are significantly more abundant among Malawi than the US infants and adults. We discover an interesting trend in the absolute abundance of phylum Verrucomicrobia, whose absolute abundance is known to increase with antibiotics usage to protect against pathogens and other opportunistic bacteria20. Consistent with the high usage of antibiotics in the western world among infants as well as adults, we discover a significant increase in the absolute abundance of Verrucomicrobia in US relative to Malawi adults and infants, and relative to Venezuelan adults (Fig. 6a). Similarly, there is a significant increase in its absolute abundance among Venezuelan infants compared with Malawi (Fig. 6a).

It is well-documented in the literature that BMI is linked to the ratio of Bacteroidetes to Firmicutes21. In our sample, the US infants, as well as adults, had higher BMI than their counterparts in Malawi; The US infants also had higher BMI than Venezuela infants (Supplementary Table 2). Interestingly the ratio of Bacteroidetes to Firmicutes was larger among Malawi infants than the US infants (Fig. 6b and Supplementary Table 3). Similarly, the ratio was significantly larger among Venezuela infants than the US infants (Fig. 6b and Supplementary Table 3). Although the differences of the ratio of Bacteroidetes to Firmicutes between US and non-US adults were not significant, the effect sizes showed a similar trend as infants indicating that US adults had smaller ratio of Bacteroidetes to Firmicutes. We did not find any significant differences between Malawi and Venezuelan infants as well as adults. These results are in line with our findings that there were no differences in the mean absolute abundances of Firmicutes as well as Bacteroidetes among Malawi and Venezuelan infants as well as adults (Fig. 6a).

Discussion

The DA analysis of microbiome data is a challenging problem5,6, in part due to inaccessibility of data necessary for drawing inferences on DA in two or more ecosystems. An important unobservable parameter that impacts DA analysis is the sampling fraction of a sample drawn from a unit volume of ecosystem. As noted in previous studies5,6, the bias correction due to sampling fraction is a major hurdle. While, ANCOM as well as DR procedures find ways to get around the problem from different perspectives, there is room for improvement. Secondly, differential relative abundance analysis of microbiome data is not equivalent to differential absolute abundance analysis of microbiome data. Often simplex or compositional data analysis-based methods transform the simplex coordinate system to Euclidean space by performing log ratio transformation. However, such methods require the researcher to prespecify the reference taxon and the results may be highly dependent on the choice of the reference taxon6. It is important to reiterate that ANCOM computes log-ratios with respect to all taxa and thus the choice of reference taxon is not an issue for ANCOM. As demonstrated mathematically in ANCOM methodology2, as long as two taxa are not differentially abundant between two ecosystems, one can draw inferences about DA using differential relative abundance.

ANCOM-BC enjoys several important unique characteristics. First, it is the only method available in the literature that estimates the sampling fraction and performs DA analysis by correcting bias due to differential sampling fractions across samples. It is the only procedure that provides valid p values and confidence intervals for each taxon. Second, unlike ANCOM, it simplifies DA analysis by recasting the problem as a linear regression problem with an offset. The offset is due to the sampling fraction. By virtue of linear regression formulation, ANCOM-BC can be applied to a broad collection of study designs, including longitudinal data, repeated measurements design, covariance adjusted analysis, and so on. Using a broad range of simulations studies, we demonstrate that ANCOM-BC, like ANCOM, controls the FDR very well, while almost all other methods investigated in this paper fail.

The ANCOM-BC methodology may not perform well when the sample sizes are very small, such as n = 5 per group. The FDR is not controlled by ANCOM-BC in such cases (Supplementary Fig. 6a, b). However, when the sample size increases to 10, our simulation results indicate that ANCOM-BC controls FDR with adequate power (Supplementary Fig 6a, b). We also evaluated the performance of ANCOM-BC when the number of taxa is small, as when researchers perform DA analysis at the phylum or class levels. Even in such instances, ANCOM-BC controls the FDR very well while maintaining high power (Supplementary Table 4). ANCOM-BC performs best in terms of FDR control when the proportion of differentially abundant taxa is not too large (e.g., <75%). Otherwise, it may have slightly elevated FDR (Supplementary Fig. 7a, b). However, none of the other methods control the FDR either, in fact, they have larger FDRs than ANCOM-BC.

In many applications, researchers are interested in drawing inferences regarding DA of taxa in more than two ecosystems. We extended ANCOM-BC to deal with such multigroup situations. Extensive simulations suggest that ANCOM-BC controls FDR while maintaining high power (Supplementary Table 5).

In summary, the proposed ANCOM-BC methodology (1) explicitly tests hypothesis regarding differential absolute abundance of individual taxon and provides valid confidence intervals; (2) provides an approach to correct the bias induced by (unobservable) differential sampling fractions across samples; (3) takes into account the compositionality of the microbiome data, and (4) does not rely on strong parametric assumptions. With the linear regression framework adopted in ANCOM-BC, it allows researchers to derive p value associated with each taxon as well as confidence interval estimation for differential absolute abundance. These are unique to ANCOM-BC, to the best of our knowledge. Last but not the least, because of the regression framework adopted in ANCOM-BC, it can be extended to more general settings involving multigroup comparisons, adjusting covariates as well as applying to longitudinal/repeated measurements data.

Methods

Notation

The notations described in ANCOM-BC methodology are summarized in Table 1.

Table 1.

Summary of notations.

Notation Description
i Taxon index, i = 1, 2, …, m.
j Group index, j = 1, 2, …, g.
k Sample index, k = 1, 2, …, nj.
θija Expected absolute abundance of ith taxon in a unit volume of ecosystem in the jth group.
Aijkb Unobserved absolute abundance of ith taxon in a unit volume of ecosystem of kth sample in the jth group.
A.jkb Microbial load in a unit volume of ecosystem of kth sample in the jth group. Ajk=i=1mAijk.
γijkb Unobserved relative abundance of ith taxon in a unit volume of ecosystem of kth sample in the jth group. γijk=AijkAjk.
Oijkb Observed absolute abundance of ith taxon in a random specimen taken from a unit volume of ecosystem of kth sample in the jth group.
O.jkb Library size of a random specimen taken from a unit volume of ecosystem of kth sample in the jth group. Ojk=i=1mOijk.
rijkb Observed relative abundance of ith taxon in a random specimen taken from a unit volume of ecosystem of kth sample in the jth group. rijk=OijkOjk.
cjka For kth sample from the jth group, cjk represents the proportion of its ecosystem (unobserved absolute abundance) in a random sample (observed absolute abundance), thus cjk=E(OijkAijk)Aijk. We shall refer to this constant as “sampling fraction”.
yijkb log(Oijk).
μija log(θij).
djka log(cjk).

aParameter.

bRandom variable.

Data preprocessing

We adopted the methodology of ANCOM-II22 as the preprocessing step to deal with different types of zeros before performing DA analysis.

There are instances where some taxa are systematically absent in an ecosystem. For example, there may be taxa present in a soil sample from a desert that might absent in a soil sample from a rain forest. In such cases, the observed zeros are called structural zeros. Let pij denote proportion non-zero samples of the ith taxon in the jth group, and let p^ij=1njk=1njI(Oijk0) denote the estimate of pij. In practice, we declare the ith taxon to have structural zeros in the jth group if either of the following is true:

  1. p^ij=0.

  2. p^ij1.96p^ij(1p^ij)nj0.

If a taxon is considered to be a structural zero in an experimental group then, for that specific ecosystem, the taxon is not used in further analysis. Thus, suppose there are three ecosystems A, B, and C and suppose taxon X is a structural zero in ecosystems A and B but not in C, then taxon X is declared to be differentially abundant in C relative to A and B and not analyzed further. If taxon Y is a structurally zero in ecosystem A but not in B and C, in that case we declare that taxon Y is differentially abundant in B relative to A as well as differentially abundant in C relative to A. We then compare the absolute abundance of taxon Y between B and C using the methodology described in this section. Taxa identified to be structural zeros among all experimental groups are ignored from the following analyses.

In a similar fashion, we address the outlier zeros as well as sampling zeros using the methodology developed in ANCOM-II22.

Model assumptions

Assumption 0.1.

E(OijkAijk)=cjkAijkVar(OijkAijk)=σw,ijk2, 1

where σw,ijk2 = variability between specimens within the kth sample from the jth group. Therefore, σw,ijk2 characterizes the within-sample variability. Typically, researchers do not obtain more than one specimen at a given time in most microbiome studies. Consequently, variability between specimens within sample is usually not estimated.

According to Assumption 0.1, in expectation the absolute abundance of a taxon in a random sample is in constant proportion to the absolute abundance in the ecosystem of the sample. In other words, the expected relative abundance of each taxon in a random sample is equal to the relative abundance of the taxon in the ecosystem of the sample.

Assumption 0.2. For each taxon i, Aijkj = 1, …, gk = 1, …, nj, are independently distributed with

E(Aijkθij)=θijVar(Aijkθij)=σb,ij2, 2

where σb,ij2 = between-sample variation within group j for the ith taxon.

The Assumption 0.2 states that for a given taxon, all subjects within and between groups are independent, where θij is a fixed parameter rather than a random variable.

Regression framework

From Assumptions 0.1 and 0.2, we have:

E(Oijk)=cjkθijVar(Oijk)=f(σw,ijk2,σb,ij2):=σt,ijk2. 3

Motivated by the above set-up, we introduce the following linear model framework for log-transformed OTU counts data:

yijk=djk+μij+ϵijk, 4

with

E(ϵijk)=0,E(yijk)=djk+μij,Var(yijk)=Var(ϵijk):=σijk2. 5

Note that with a slight abuse of notation for simplicity of exposition, the above log-transformation of data is inspired by the Box–Cox family of transformations23 which are routinely used in data analysis. Note that d in the above equation is not exactly log(c) due to Jensenʼs inequality, it simply reflects the effect of c

An important distinction from standard ANOVA: Before we describe the details of the proposed methodology, we like to draw attention to a fundamental difference between the current formulation of the problem and the standard one-way ANOVA model. For simplicity, let us suppose we have two groups, say a treatment and a control group. Let us also suppose that there is only one taxon in our microbiome study and n subjects are assigned to the treatment group and n are assigned to the control group. Suppose the researcher is interested in comparing the mean absolute abundance of the taxon in the ecosystems of the two groups. Then under the above assumptions, the model describing the study is given by:

yjk=djk+μj+ϵjk,j=1,2,k=1,2,,n.

Then trivially the sample mean absolute abundance of jth group is given by ȳj.=1nk=1nyjk and E(ȳj.)=1nk=1ndjk+μj=d¯j.+μj. The difference in the sample means between the two groups is ȳ1.ȳ2. and its expectation is E(ȳ1.ȳ2.)=(d¯1.d¯2.)+(μ1μ2). Under the null hypothesis μ1 = μ2, E(ȳ1.ȳ2.)=d¯1.d¯2.0, unless d¯1.=d¯2.. Thus because of the differential sampling fractions, which are sample specific, the numerator of the standard t-test under the null hypothesis for these microbiome data is non-zero. This introduces bias and hence inflates the Type I error. On the other hand, the standard one-way ANOVA model for two groups, which is not applicable for the microbiome data described in this paper, is of the form:

yjk=d+μj+ϵjk,j=1,2,k=1,2,,n.

Hence under the null hypothesis μ1 = μ2, E(ȳ1.ȳ2.)=0. Thus, in this case the standard t-test is appropriate. Hence in this paper we develop methodology to eliminate the bias introduced by the differential sampling fraction by each sample. To do so, we exploit the fact that we have a large number of taxa on each subject and we borrow information across taxa to estimate this bias, which is the essence of the following methodology.

Bias and variance of bias estimation under the null hypothesis: From the above model (equation (4)), for each j, note that E(ȳij)=d¯j+μij and E(ȳjk)=djk+μ¯j, where w¯ represents the arithmetic mean over the suitable index. Using the least squares framework, we therefore estimate μij and djk as follows:

d^jk=y¯jky¯j,k=1,,nj,j=1,2,g,μ^ij=y¯ijd^¯j=y¯ij,i=1,,m. 6

Note that E(μ^ij)=E(y¯ij)=μij+d¯j. Thus, for each j = 1, 2, …g, μ^ij is a biased estimator and E(μ^i1μ^i2)=(μi1μi2)+d¯1d¯2. Denote δ=d¯1d¯2. To begin with, in the following we shall assume there are two experimental groups with balanced design, i.e., g = 2 and n1 = n2 = n. Later the methodology is easily extended to unbalanced design and multigroup settings. Suppose we have two ecosystems and for each taxon i, i = 1, 2, …m, we wish to test the hypothesis

H0:μi1=μi2H1:μi1μi2. 7

Under the null hypothesis, E(μ^i1μ^i2)=δ0, and hence biased. The goal of ANCOM-BC is to estimate this bias and accordingly modify the estimator μ^i1μ^i2 so that the resulting estimator is asymptotically centered at zero under the null hypothesis and hence the test statistic is asymptotically centered at zero. First, we make the following observations. Since E(y¯ij)=d¯j+μij and μ^ij=y¯ij, therefore μ^ij is an unbiased estimator of d¯j+μij. From (5) and Lyapunov central limit theorem, we have:

μ^ij(μij+d¯j)σidN(0,1)asn,whereσij2=Var(μ^ij)=Var(y¯ij.)=1n2k=1nσijk2. 8

Let Σjk denote an m × m covariance matrix of ϵjk=(ϵ1jk,ϵ2jk,,ϵmjk)T, where σiijk is the (i,i)th element of Σjk and σijk2 is the ith diagonal element of Σjk. Furthermore, suppose

Assumption 0.3.

σijk2<σ02<iimσiijkm2=o(1). 9

Denote 1 = (1, 1, …, 1)T, then we have

01TΣ1=i=1mi=1mσiijk=i=1mσijk2+iimσiijkmσ02+iimσiijk, 10

Hence

01TΣ1m2σ02m+iimσiijkm2=o(1). 11

Thus, for each k = 1, 2, …, n, and for each taxon i = 1, 2, …, m, according to Assumption 0.3, we have:

1mi=1m(yijk(djk+μij))p0asm. 12

Thus,

d^jk=y¯jky¯jp(djk+μ¯j)(d¯j+μ¯j)=djkd¯j,asm. 13

Using (8) and (13), let

σ^ij2=1n2k=1n(yijkd^jkμ^ij)2 14

denote the mean residual sum of squares. Then under some mild regularity conditions24, we have the following consistency result

n(σ^ij2σij2)p0,asm,n. 15

Therefore, using σ^ij for σij in (8) and appealing to Slutsky’s theorem, we have:

μ^ij(μij+d¯j)σ^ijdN(0,1),asm,n. 16

Furthermore, based on Assumption 0.3, from (8) and (15) we obtain:

σ^ijp0,asm,n. 17

Consequently,

μ^ijpμij+d¯j,asm,n. 18

The above observations regarding the convergence of various statistics play a critical role in the following. Since the sampling fraction is constant for all taxa within the subject, we attempt to pool information across taxa when estimating δ. We model the taxa using the following Gaussian mixtures model. For the ith taxon, i = 1, 2, …, m, let Δi=μ^i1μ^i2. Let C0 denote the set of taxa that are not differentially abundant between the two groups, i.e., C0 = {i ∈ (1, 2, …, m): μi1 = μi2}, C1 denote the set of taxa whose mean abundance in group 1 is less than that of group 2, i.e., C1 = {i ∈ (1, 2, …, m): μi1 < μi2}, and let C2 denote the set of taxa whose mean abundance in group 1 is greater than that of group 2, i.e., C2 = {i ∈ (1, 2, …, m): μi1 > μi2}, Let πr denote the probability that a taxon belongs to set Cr, r = 0, 1, 2. For simplicity of estimation of parameters, similar to GEE, we shall assume that Δii = 1, 2, …, m are independently distributed. Thus, we ignore the underlying correlation structure when estimating δ. This is similar to what is often done in other omics studies. Thus, we model the distribution of Δi by Gaussian mixture as follows:

f(Δi)=π0ϕ(Δiδνi0)+π1ϕ(Δi(δ+l1)νi1)+π2ϕ(Δi(δ+l2)νi2), 19

where

  1. ϕ is the normal density function,

  2. δ + l1 and δ + l2 are means for ΔiC1, and ΔiC2, respectively. l1 < 0, l2 > 0,

  3. νi0νi1, and νi2 are variances of ΔiC0, ΔiC1, and ΔiC2, respectively.

For computational simplicity, we assume that νi1 > νi0νi2 > νi0. Thus, without loss of generality for κ1κ2 > 0, let νi1 = νi0 + κ1 and νi2 = νi0 + κ2. While this assumption is not a requirement for our method, it is reasonable to assume that variability among differentially abundant taxa is larger than that among the null taxa. By making this assumption, we speed-up the computation time.

Assuming samples are independent between experimental groups, we begin by first estimating νi02=Var(μ^i1μ^i2)=Var(μ^i1)+Var(μ^i2). Using the estimator stated in (14), we estimate νi02 consistently as follows:

ν^i02=j=12σ^ij2=j=121n2k=1n(yijkd^jkμ^ij)2. 20

In all future calculations, we plug in ν^i02 for νi02. This is similar in spirit to many statistical procedures involving nuisance parameters. The following lemma is useful in the sequel.

Lemma 0.1.

θlogf(x)=Ef(zx)[θlogf(z)+θlogf(xz)].25

Let Θ=(δ,π1,π2,π3,l1,l2,κ1,κ2)T denote the set of unknown parameters, then for each taxon the log-likelihood can be reformulated using Lemma 0.1, as follows:

ΘargmaxΘi=1mr=02pr,i[logPr(iCr)+logf(ΔiiCr)]. 21

Then the E–M algorithm is described as follows:

  • E-step: Compute conditional probabilities of the latent variable. Define pr,i=Pr(iCrΔi)=πrϕ(Δi(δ+lr)νir)rπrϕ(Δi(δ+lr)νir),r=0,1,2;i=1,,m, which are conditional probabilities representing the probability that an observed value follows each distribution. Note that l0 = 0.

  • M-step: Maximize the likelihood function with respect to the parameters, given the conditional probabilities.

We shall denote the resulting estimator of δ by δ^EM.

Next we estimate Var(δ^EM). Since the likelihood function is not a regular likelihood and hence it is not feasible to derive the Fisher information. Consequently, we take a simpler and a pragmatic approach to derive an approximate estimator of Var(δ^EM) using Var(δ^WLS), which is defined below. Extensive simulation studies suggest that δ^EM and δ^WLS are highly correlated (Supplementary Fig. 9) and it appears to be reasonable to approximate Var(δ^EM) by Var(δ^WLS).

Let {Cr} = mr, r = 0, 1, 2, then

δ^WLS=iC0Δiν^i02+iC1Δil^1ν^i12+iC2Δil^2ν^i22iC01ν^i02+iC11ν^i12+iC21ν^i22=iC0Δiνi02+iC1Δil1νi12+iC2Δil2νi22iC01νi02+iC11νi12+iC21νi22+op(1). 22

The above expression is of the form

a1Tx1+a2Tx2+a3Tx3a1T1+a2T1+a3T1αTuαT1, 23

where

  1. 1 = (1, …, 1)T,

  2. ar=(ar1,ar2,,armr)T:=(1νir2)T,iCr,r=0,1,2,

  3. xr=(xr1,xr2,,xrmr)T:=(Δili)T,iCr,r=0,1,2. Note that l0 = 0,

  4. α=(α1,α2,,αm)T(a1T,a2T,a3T)T,

  5. u=(u1,u2,,um)T(x1T,x2T,x3T)T.

For the simplicity of notation, we relabel a and x by α and u, respectively. Denote Cov(x) = Cov(u) by Ω, and let ωii denotes the (i,i) element of Ω. As in Assumption 0.3, we make the following assumption

Assumption 0.4.

iimωiim2=o(1). 24

Using the above expressions, we compute the variance as follows:

Var(δ^WLS)=Var(αTuαT1)=i=1mαi2ωii(i=1mαi)2+iimαiαiωii(i=1mαi)2. 25

Recall that (a) for i ∈ C0, ωii=Var(Δi)=νi02=O(n1), (b) for i ∈ C1, ωii=Var(Δi)=νi12=νi02+κ1=O(1), and (c) for i ∈ C2, ωii=Var(Δi)=νi22=νi02+κ2=O(1). Note that αi=1Var(Δi)=1ωii, thus we have:

Var(αTuαT1)=i=1mαi2ωii(i=1mαi)2+iimαiαiωii(i=1mαi)2=1i=1mαi+iimαiαiωii(i=1mαi)2. 26

Since νi02=O(n1), νi12=O(1), and νi22=O(1), consequently, a1i = O(n), a2i = a3i = O(1), and

i=1mαi=1Ta1+1Ta2+1Ta3=iC0O(n)+iC1O(1)+iC2O(1)=O(m0n)+O(m1)+O(m2)=O(m0n)ifm0nmax{m1,m2}. 27

Using these facts and Assumption 0.4 in (26), we get

Var(αTuαT1)=O(m01n1)+iim{n1m1αi}{n1m1αi}ωiin2m2(i=1mαi)2=O(m01n1)+1m2iim{n1αi}{n1αi}ωii(i=1mn1m1αi)2=O(m01n1)+1m2O(1)o(m2)O(1)=O(m01n1). 28

Thus, under Assumption 0.4 regarding ωii, the contribution of the covariance terms in the above variance expression is negligible as long as m is very large compared with n, which is usually the case. Hence

Var(δ^WLS)=Var(αTuαT1)=O(m01n1). 29

Furthermore, appealing to Cauchy–Schwartz inequality we get

Cov(μ^i1μ^i2,δ^WLS)Var(μ^i1μ^i2)Var(δ^WLS)O(n1/2)O(m01/2n1/2)=O(n1m01/2). 30

Hence, as long as m0 is large, the contribution made by Var(δ^WLS) and Cov(μ^i1μ^i2,δ^WLS) relative to Var(μ^i1μ^i2) is negligible.

Neglect the covariance term in (26), let C^r denote the estimator of Crr = 0, 1, 2 from the E–M algorithm, define

Var^(δ^WLS)=1iC^01ν^i02+iC^11ν^i12+iC^21ν^i22, 31

an estimator of Var(δ^WLS) under the Assumption 0.4. Then

Var^(δ^WLS)p1i=1mαi=1iC01νi02+iC11νi12+iC21νi22,asm,n. 32

We performed extensive simulations to evaluate the bias and variance of δ^EM and that of δ^WLS. The scatter plot (Supplementary Fig. 9) of δ^EM and δ^WLS are almost perfectly linear with correlation coefficient nearly 1 in all cases. This suggests that δ^WLS is a very good approximation for δ^EM. The variance of δ^EM as well as that of δ^WLS are roughly of the order n1m01, as we expected. In addition, they are approximately unbiased (Supplementary Table 6).

Hypothesis testing for two-group comparison

For taxon i, we test the following hypothesis

H0:μi1=μi2H1:μi1μi2

using the following test statistic which is approximately centered at zero under the null hypothesis:

Wi=μ^i1μ^i2δ^EMσ^i12+σ^i22. 33

From Slutsky’s theorem, we have:

WidN(0,1),asm,n. 34

If the sample size is not very large and/or the number of non-null taxa are very large, then we modify the above test statistic as follows:

Wi*=μ^i1μ^i2δ^WLSσ^i12+σ^i22+Var^(δ^WLS)+2(σ^i12+σ^i22)Var^(δ^WLS). 35

To control the FDR due to multiple comparisons, we recommend applying the Holm–Bonferroni method26 or Bonferroni27,28 correction rather than the Benjamini–Hochberg (BH) procedure29 to adjust the raw p values as research has showed that it is more appropriate to control the FDR when p values were not accurate30, and the BH procedure controls the FDR provided you have either independence or some special correlation structures such as perhaps positive regression dependence among taxa29,31. In our simulation studies, since the absolute abundances for each taxon are generated independently, we compared the ANCOM-BC results adjusted either by Bonferroni correction (Fig. 4) or BH procedure (Supplementary Fig. 10), it is clearly that the FDR control by Bonferroni correction is more conservative while implementing BH procedure results in FDR around the nominal level (5%). Obviously, ANCOM-BC has larger power when using BH procedure.

Hypothesis testing for multigroup comparison

In some applications, for a given taxon, researchers are interested in drawing inferences regarding DA in more than two ecosystems. For example, for a given taxon, researchers may want to test whether there exists at least one experimental group that is significantly different from others, i.e., to test

H0,i:jj{1,,g}μij=μijH1,i:jj{1,,g}μijμij.

Similar to the two-group comparison, after getting the initial estimates of μ^ij and d^jk, setting the reference group r (e.g., r = 1), and obtaining the estimator of the bias term δ^rj through E–M algorithm, the final estimator of mean absolute abundance of the ecosystem (in log scale) are obtained by transforming μ^ij of (6) into:

μ^ij*:=μ^ir,j=rμ^ij+δ^rj,jr1,,g. 36

Thus, based on (18) and the E–M estimator of δrj, as m,min(nj,nj)

μ^ij*μ^ij*p0iftaxoniisnotdifferentiallyabundantbetweengroupjandj,μijμijotherwise. 37

Similarly, the estimator of the sampling fraction is obtained by transforming d^jk of (6) into

d^jk*:=d^rk,j=rd^jkδ^rj,jr1,,g. 38

As by (13) and the E–M estimator of δrj

d^jk*pdjkd¯rasm,min(nj,nj), 39

which indicates that we are only able to estimate sampling fractions up to an additive constant (d¯r).

Define the test statistic for pairwise comparison as:

Wi,jj=μ^ij*μ^ij*σ^ij2+σ^ij2,i=1,,m,jj{1,,g}. 40

For computational simplicity, inspired by the William’s type of test3235, we reformulate the global test with the following test statistic:

Wi=maxjj{1,,g}Wi,jj,i=1,,m. 41

Under null, Wi,jjdN(0,1), thus we can construct the null distribution of Wi by simulations, i.e., for each specific taxon i,

  1. Generate Wi,jj(b)~N(0,1),jj{1,,g},b=1,,B.

  2. Compute Wi(b)=maxjj{1,,g}Wi,jj(b).

  3. Repeat above steps B times (e.g., B = 1000), we then get the null distribution of Wi by (Wi(1),,Wi(B))T.

Finally, p value is calculated as

pi=1Bb=1BI(Wi(b)>Wi),i=1,,m 42

and the Bonferroni correction is applied to control the FDR.

Reporting summary

Further information on research design is available in the Nature Research Reporting Summary linked to this article.

Supplementary information

Peer Review File (751.7KB, pdf)
Reporting Summary (163.5KB, pdf)

Acknowledgements

This research was funded by the Department of Biostatistics, University of Pittsburgh, Pittsburgh, PA 15261, USA.

Author contributions

Both authors contributed equally to the theory and methodology described in this paper. All numerical works and computations were conducted by H.L. who developed ANCOM-BC pipeline in R that is freely and publicly available. Please contact H.L. for software requests.

Data availability

DNA sequences from the global gut microbiota study9 can be found in MG-RAST https://www.mg-rast.org/index.html server under search string “mgp401” for Illumina V4-16S rRNA.

Code availability

All analyses can be found under https://github.com/FrederickHuangLin/ANCOM-BC.

Competing interests

The authors declare no competing interests.

Footnotes

Peer review information Nature Communications thanks Nathan Olson and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

Supplementary information is available for this paper at 10.1038/s41467-020-17041-7.

References

  • 1.Sophi W, et al. Normalization and microbial differential abundance strategies depend upon data characteristics. Microbiome. 2017;5:27. doi: 10.1186/s40168-017-0237-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Mandal S, et al. Analysis of composition of microbiomes: a novel method for studying microbial composition. Microb. Ecol. Health Dis. 2015;26:27663. doi: 10.3402/mehd.v26.27663. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Gloor GB, Reid G. Compositional analysis: a valid approach to analyze microbiome high-throughput sequencing data. Can. J. Microbiol. 2016;62:692–703. doi: 10.1139/cjm-2015-0821. [DOI] [PubMed] [Google Scholar]
  • 4.Gloor GB, Wu JR, Pawlowsky-Glahn V, Egozcue JJ. It’s all relative: analyzing microbiome data as compositions. Ann. Epidemiol. 2016;26:322–329. doi: 10.1016/j.annepidem.2016.03.003. [DOI] [PubMed] [Google Scholar]
  • 5.Gloor GB, Macklaim JM, Pawlowsky-Glahn V, Egozcue JJ. Microbiome datasets are compositional: and this is not optional. Front. Microbiol. 2017;8:2224. doi: 10.3389/fmicb.2017.02224. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Morton JT, et al. Establishing microbial composition measurement standards with reference frames. Nat. Commun. 2019;10:2719. doi: 10.1038/s41467-019-10656-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Aitchison J. The statistical analysis of compositional data. J. R. Stat. Soc. Ser. B. 1982;44:139–160. [Google Scholar]
  • 8.Paulson JN, Stine OC, Bravo HC, Pop M. Differential abundance analysis for microbial marker-gene surveys. Nat. methods. 2013;10:1200. doi: 10.1038/nmeth.2658. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Tanya Y, et al. Human gut microbiome viewed across age and geography. Nature. 2012;486:222. doi: 10.1038/nature11053. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Love MI, Huber W, Anders S. Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome Biol. 2014;15:550. doi: 10.1186/s13059-014-0550-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Robinson MD, McCarthy DJ, Smyth GK. edgeR: a Bioconductor package for differential expression analysis of digital gene expression data. Bioinformatics. 2010;26:139–140. doi: 10.1093/bioinformatics/btp616. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Chen, Y., McCarthy, D., Robinson, M. & Smyth, G. K. EdgeR: Differential Expression Analysis of Digital Gene Expression Data User’s Guide. https://www.bioconductor.org/packages/release/bioc/vignettes/edgeR/inst/doc/edgeRUsersGuide.pdf (accessed 17 September 2008) (2014).
  • 13.Caporaso JG, et al. Global patterns of 16S rRNA diversity at a depth of millions of sequences per sample. Proc. Natl Acad. Sci. 2011;108:4516–4522. doi: 10.1073/pnas.1000080107. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Lozupone CA, et al. Meta-analyses of studies of the human microbiota. Genome Res. 2013;23:1704–1714. doi: 10.1101/gr.151803.112. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Amrhein, V., Greenland, S. & McShane, B. Scientists rise up against statistical significance. https://www.nature.com/articles/d41586-019-00857-9?fbclid=IwAR3K6PysQ9FY4togs39BSciW3YsK-Pf6EE0Il9R8zxkW4GvrGBHFuz8yF5c (2019). [DOI] [PubMed]
  • 16.Codd G. Cyanobacterial toxins: occurrence, properties and biological significance. Water Sci. Technol. 1995;32:149–156. doi: 10.2166/wst.1995.0177. [DOI] [Google Scholar]
  • 17.Herlemann DP, Geissinger O, Brune A. The termite group I phylum is highly diverse and widespread in the environment. Appl. Environ. Microbiol. 2007;73:6682–6685. doi: 10.1128/AEM.00712-07. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Obregon-Tito AJ, et al. Subsistence strategies in traditional societies distinguish gut microbiomes. Nat. Commun. 2015;6:6505. doi: 10.1038/ncomms7505. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Halperin JJ. A tale of two spirochetes: lyme disease and syphilis. Neurologic Clin. 2010;28:277–291. doi: 10.1016/j.ncl.2009.09.009. [DOI] [PubMed] [Google Scholar]
  • 20.Dubourg G, et al. High-level colonisation of the human gut by Verrucomicrobia following broad-spectrum antibiotic treatment. Int. J. antimicrobial agents. 2013;41:149–155. doi: 10.1016/j.ijantimicag.2012.10.012. [DOI] [PubMed] [Google Scholar]
  • 21.Castaner, O. et al. The Gut Microbiome Profile in Obesity: A Systematic Review. Int. J. Endocrinol. 1–9 (2018). 10.1155/2018/4095789. [DOI] [PMC free article] [PubMed]
  • 22.Kaul A, Mandal S, Davidov O, Peddada SD. Analysis of microbiome data in the presence of excess zeros. Front. Microbiol. 2017;8:2114. doi: 10.3389/fmicb.2017.02114. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Box GE, Cox DR. An analysis of transformations. J. R. Stat. Soc. Ser. B. 1964;26:211–243. [Google Scholar]
  • 24.Peddada SD, Smith T. Consistency of a class of variance estimators in linear models under heteroscedasticity. Sankhyā Indian J. Stat. Ser. B. 1997;59:1–10. doi: 10.1111/1467-9868.00053. [DOI] [Google Scholar]
  • 25.McLachlan, G. & Krishnan, T. The EM Algorithm and Extensions, Vol. 382 (John Wiley & Sons, 2007).
  • 26.Holm S. A simple sequentially rejective multiple test procedure. Scand. J. Stat. 1979;6:65–70. [Google Scholar]
  • 27.Dunn OJ. Estimation of the means of dependent variables. Ann. Math. Stat. 1958;29:1095–1111. doi: 10.1214/aoms/1177706443. [DOI] [Google Scholar]
  • 28.Dunn OJ. Multiple comparisons among means. J. Am. Stat. Assoc. 1961;56:52–64. doi: 10.1080/01621459.1961.10482090. [DOI] [Google Scholar]
  • 29.Benjamini Y, Hochberg Y. Controlling the false discovery rate: a practical and powerful approach to multiple testing. J. R. Stat. Soc. Ser. B. 1995;57:289–300. [Google Scholar]
  • 30.Lim C, Sen PK, Peddada SD. Robust analysis of high throughput screening assay data. Technometrics. 2013;55:150–160. doi: 10.1080/00401706.2012.749166. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Benjamini Y, Yekutieli D. The control of the false discovery rate in multiple testing under dependency. Ann. Stat. 2001;29:1165–1188. doi: 10.1214/aos/1013699998. [DOI] [Google Scholar]
  • 32.Williams D. A test for differences between treatment means when several dose levels are compared with a zero-dose control. Biometrics. 1971;27:103–117. doi: 10.2307/2528930. [DOI] [PubMed] [Google Scholar]
  • 33.Williams DA. Some inference procedures for monotonically ordered normal means. Biometrika. 1977;64:9–14. doi: 10.1093/biomet/64.1.9. [DOI] [Google Scholar]
  • 34.Peddada SD, Prescott KE, Conaway M. Tests for order restrictions in binary data. Biometrics. 2001;57:1219–1227. doi: 10.1111/j.0006-341X.2001.01219.x. [DOI] [PubMed] [Google Scholar]
  • 35.Farnan L, Ivanova A, Peddada SD. Linear mixed effects models under inequality constraints with applications. PloS ONE. 2014;9:e84778. doi: 10.1371/journal.pone.0084778. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Peer Review File (751.7KB, pdf)
Reporting Summary (163.5KB, pdf)

Data Availability Statement

DNA sequences from the global gut microbiota study9 can be found in MG-RAST https://www.mg-rast.org/index.html server under search string “mgp401” for Illumina V4-16S rRNA.

All analyses can be found under https://github.com/FrederickHuangLin/ANCOM-BC.


Articles from Nature Communications are provided here courtesy of Nature Publishing Group

RESOURCES