Skip to content

Commit

Permalink
Fix broken refs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemc committed May 5, 2021
1 parent 6783b55 commit 3bd3f0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions appendix-regression.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,13 @@ Consider the linear equations
\log \bar B &= \beta_0 + \beta_1 x \\
\log m_i &= \gamma_0 + \gamma_1 x,
\end{align}
and let $\hat \alpha_0$, etc. denote the least-squares estimates for these equations supposing perfect information (i.e., that the $a_i$ and $B_i$ are known).
and let $\hat \alpha_0$, etc. denote the least-squares estimates for the regression coefficients supposing perfect information (i.e., that the $a_i$ and $B_i$ are known).
The coefficients for $\log m_i$ are related to those for $\log a_i$ and $\log \bar B$ through the equations
\begin{align}
(\#eq:least-squares-estimates)
\hat \gamma_0 &= \hat \alpha_0 + \log B_i - \hat \beta_0 \\
\hat \gamma_1 &= \hat \alpha_1 - \hat \beta_1,
\hat \gamma_1 &= \hat \alpha_1 - \hat \beta_1.
\end{align}
so that the fitted model for $\log m_i$ is given by the right-hand side of
\@ref(eq:expected-observed-abundance-log-linear-regression) with the coefficients replaced by the fitted values.
```

```{proof, echo = TRUE}
Expand Down
2 changes: 1 addition & 1 deletion relative-abundance.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ Microbiome researchers often combine lower-order taxa into higher-order taxa pri
For instance, Amplicon Sequence Variants (ASVs), Operational Taxonomic Units (OTUs), or species-level counts may be aggregated into genus- or family-level counts by simply summing the counts within each group of lower-level taxa.
Such aggregation can increase statistical power by reducing noise, sparsity, and the number of tests conducted.
It also simplifies the task of interpretation by limiting the number of taxa considered.
In addition, some degree of uncontrolled aggregation is inevitable due to the inherent limitations of our sequencing and bioinformatics protocols to distinguish sufficiently similar organisms (@mclaren2019), which may be lumped together into an OTU or species-level feature.
In addition, some degree of uncontrolled aggregation is inevitable due to the inherent limitations of our sequencing and bioinformatics protocols to distinguish sufficiently similar organisms (@mclaren2019cons), which may be lumped together into an OTU or species-level feature.
Finally, though our focus is on analysis of taxa, we note that taxonomic aggregation also occurs (at least implicitly) in gene or function analyses, where counts are combined from different taxa that share the same genes or predicted functions.
Hence, to understand the effects of bias on DA analysis as it is actually practiced, we must understand the effects of such taxonomic aggregation on differential abundance.

Expand Down

0 comments on commit 3bd3f0e

Please sign in to comment.