[1] "counts" "relabundance" "clr"
Making abundances comparable and analysable
Monday, September 28, 2026
“… microbiome datasets generated by HTS are compositional because they have an arbitrary total imposed by the instrument.”
“… HTS datasets derived from microbiome studies can and should be treated as compositions at all stages of analysis.”
Library sizes are arbitrary
\[ \text{X}_{ij} = \frac{\text{Count}_{ij}}{\sum_{k=1}^m \text{Count}_{ik}} \]
where
Library sizes are arbitrary and data zero-inflated
\[ \text{X}_{ij} = \log \left( \text{Relative abundance}_{ij} + \epsilon \right) \]
where
Library sizes are arbitrary and values are dependent
\[ \text{CLR}(x_i) = \log\left(\frac{x_i}{g(x)}\right),\quad g(x) = \left(\prod_{j=1}^{D} x_j \right)^{1/D} \]
\[ \frac{x}{y} \;\longrightarrow\; a - b \;? \]
\[ \log\left(\frac{x}{y}\right) = \log(x) - \log(y) \]
\[ \begin{aligned} \text{CLR}(x_i) &= \log\left(\frac{x_i}{g(x)}\right) \\[2mm] &= \log(x_i) - \log(g(x)) \end{aligned} \]
\[ \text{Arithmetic mean} = \frac{2 + 8 + 32}{3} = \frac{42}{3} = 14 \]
\[ \begin{aligned} \text{Geometric mean} &= \sqrt[3]{2 \cdot 8 \cdot 32} \\[2mm] &= \exp\left( \frac{\log 2 + \log 8 + \log 32}{3} \right) \\[2mm] &= 8 \end{aligned} \]
\[ \begin{aligned} \text{CLR}(x_i) &= \log\left(\frac{x_i}{g(x)}\right) \\[2mm] &= \log(x_i) - \log(g(x)) \\[2mm] &= \log(x_i) - \frac{1}{D}\sum_{j=1}^{D}\log(x_j) \end{aligned} \]
Use the simplest justified approach that works
OMA online book, Chapter 12: Transformation
microbiome.github.io/OMA › Transformation
All exercises