Skip to content

Commit a5bd8cc

Browse files
committed
Don't subscript elemental formulas in labels
1 parent 6536431 commit a5bd8cc

File tree

7 files changed

+13
-11
lines changed

7 files changed

+13
-11
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Date: 2024-12-01
1+
Date: 2024-12-02
22
Package: chem16S
3-
Version: 1.1.0-10
3+
Version: 1.1.0-11
44
Title: Chemical Metrics for Microbial Communities
55
Authors@R: c(
66
person("Jeffrey", "Dick", , "[email protected]", role = c("aut", "cre"),

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Potential applications range from human microbiomes to Earth-life coevolution.
1616

1717
The user provides taxonomic classifications of high-throughput 16S rRNA gene sequences.
1818
These are combined with reference proteomes for archaea and bacteria to obtain the amino acid compositions of **community reference proteomes**.
19-
Amino acid compositions used to calculate chemical metrics including **carbon oxidation state** (*Z*<sub>C</sub>) and **stoichiometric hydration state** (*n*<sub>H<sub>2</sub>O</sub>).
19+
Amino acid compositions used to calculate chemical metrics including **carbon oxidation state** (*Z*<sub>C</sub>) and **stoichiometric hydration state** (*n*<sub>2</sub>O).
2020

2121
Supported input formats:
2222
* `phyloseq-class` objects created using [*phyloseq*](https://doi.org/doi:10.18129/B9.bioc.phyloseq)
@@ -37,7 +37,7 @@ Training files are available for [DADA2](https://doi.org/10.5281/zenodo.13984843
3737
### Example
3838

3939
The Baltic Sea has a salinity gradient from freshwater to marine conditions.
40-
Progressively lower *n*<sub>H<sub>2</sub>O</sub> of community reference proteomes along this gradient represent a genomically coded dehydration trend.
40+
Progressively lower *n*H<sub>2</sub>O of community reference proteomes along this gradient represent a genomically coded dehydration trend.
4141

4242
<!-- Default image is too big
4343
![chem16S::plot_metrics example: Baltic Sea nH2O-Zc plot](inst/images/plot_metrics.png)

inst/NEWS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CHANGES IN chem16S 1.1.0-10 (2024-12-01)
1+
CHANGES IN chem16S 1.1.0-11 (2024-12-02)
22
---------------------------------------
33

44
- Update reference database to GTDB release 220.
@@ -18,6 +18,8 @@ CHANGES IN chem16S 1.1.0-10 (2024-12-01)
1818
- Add 'rootrank' (Root) taxon to RefDB/GTDB_220/taxon_AA.csv.xz to permit
1919
complete mapping of RDP output with GTDB reference database.
2020

21+
- Elemental formulas (O2 and H2O) are no longer subscripted in documentation.
22+
2123
CHANGES IN chem16S 1.1.0 (2024-07-01)
2224
-------------------------------------
2325

man/macros/macros.Rd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
% extracted from CHNOSZ's macros.Rd 20190929
22
\newcommand{\Zc}{\ifelse{latex}{\eqn{Z_\mathrm{C}}}{\ifelse{html}{\out{<I>Z</I><sub>C</sub>}}{Zc}}}
33
% 20190930
4-
\newcommand{\nH2O}{\ifelse{latex}{\eqn{n_{\mathrm{H_{2}O}}}}{\ifelse{html}{\out{<i>n</i><sub>H<sub>2</sub>O</sub>}}{nH2O}}}
4+
\newcommand{\nH2O}{\ifelse{latex}{\eqn{n{\mathrm{H_{2}O}}}}{\ifelse{html}{\out{<i>n</i>H<sub>2</sub>O}}{nH2O}}}
55
66
% 20230602
7-
\newcommand{\nO2}{\ifelse{latex}{\eqn{n_{\mathrm{O_{2}}}}}{\ifelse{html}{\out{<i>n</i><sub>O<sub>2</sub></sub>}}{nO2}}}
7+
\newcommand{\nO2}{\ifelse{latex}{\eqn{n{\mathrm{O_{2}}}}}{\ifelse{html}{\out{<i>n</i>O<sub>2</sub>}}{nO2}}}
88
99
% 20230704 copied from canprot
1010
\newcommand{\H2O}{\ifelse{latex}{\eqn{\mathrm{H_{2}O}}}{\ifelse{html}{\out{H<sub>2</sub>O}}{H2O}}}

vignettes/metrics.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ if (!nzchar(Sys.which("pngquant"))) pngquant <- NULL
4141

4242
```{r HTML, include = FALSE}
4343
Zc <- "<i>Z</i><sub>C</sub>"
44-
nH2O <- "<i>n</i><sub>H<sub>2</sub>O</sub>"
44+
nH2O <- "<i>n</i>H<sub>2</sub>O"
4545
```
4646

4747
Here we visualize chemical metrics for archaeal and bacterial taxa and viruses using precomputed reference proteomes in the **chem16S** package.

vignettes/phyloseq.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ link-citations: true
1717

1818
```{r HTML, include = FALSE}
1919
Zc <- "<i>Z</i><sub>C</sub>"
20-
nH2O <- "<i>n</i><sub>H<sub>2</sub>O</sub>"
21-
nO2 <- "<i>n</i><sub>O<sub>2</sub></sub>"
20+
nH2O <- "<i>n</i>H<sub>2</sub>O"
21+
nO2 <- "<i>n</i>O<sub>2</sub>"
2222
H2O <- "H<sub>2</sub>O"
2323
O2 <- "O<sub>2</sub>"
2424
```

vignettes/plotting.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function ToggleDiv(ID) {
3434

3535
```{r HTML, include = FALSE}
3636
Zc <- "<i>Z</i><sub>C</sub>"
37-
nH2O <- "<i>n</i><sub>H<sub>2</sub>O</sub>"
37+
nH2O <- "<i>n</i>H<sub>2</sub>O"
3838
```
3939

4040
```{r setup, include = FALSE}

0 commit comments

Comments
 (0)