library(knitr) ## use pngquant to reduce size of PNG images knit_hooks$set(pngquant = hook_pngquant) pngquant <- "--speed=1 --quality=0-25" # in case pngquant isn't available if (!nzchar(Sys.which("pngquant"))) pngquant <- NULL
## some frequently used HTML expressions ZC <- "<i>Z</i><sub>C</sub>"
This vignette runs the code to make the plots from the following paper:
Dick JM, Yu M, Tan J, Lu A. 2019. Changes in carbon oxidation state of metagenomes along geochemical redox gradients. Frontiers in Microbiology 10: 120. doi: 10.3389/fmicb.2019.00120
This vignette was compiled on r Sys.Date()
with JMDplots r packageDescription("JMDplots")$Version
and CHNOSZ r packageDescription("CHNOSZ")$Version
.
library(JMDplots)
r ZC
of DNA, RNA, and proteins (Figure 1)gradox1()
r ZC
(Figure 2)gradox2()
r ZC
(Figure S1)mout <- gradoxS1()
r ZC
(Figure S2)pout <- gradoxS2()
r ZC
of proteins vs DNA (metagenomes and metatranscriptomes) (Figure 3)gradox3(mout, pout)
gradox4(mout, pout)
r ZC
of reads classified to selected abundant species (Figure 5)gradox5()
r ZC
of reads classified to selected abundant species (including deeper samples) (Figure S3)gradox5(maxdepth = NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.