The Bact-to-Batch repositorty helps you create dynamic analysis documents that combine code and rendered output (such as figures) to generate the complete analysis described in this study : Bact-to-Batch: A Microbiota-Based Tool to Determine Optimal Animal Allocation in Experimental Designs .
Bact-to-Batch: A Microbiota-Based Tool to Determine Optimal Animal Allocation in Experimental Designs
Website: https://www.mdpi.com/1422-0067/24/9/7912
PDF Version: https://www.mdpi.com/1422-0067/24/9/7912/pdf
The easiest way to use the Bact-to-Batch markdown is from within the RStudio IDE, but you don't need to explicitly install it or load it, as RStudio automatically does both when needed.
If you want to use the rmarkdown package outside of RStudio, you can install the package from CRAN as follows:
install.packages("rmarkdown")
If you want to use the development version of the rmarkdown package (either with or without RStudio), you can install the package from GitHub via the remotes package:
remotes::install_github('rstudio/rmarkdown')
If not using the RStudio IDE, you'll need to install a recent version of R (>= 4.1.1);
The easiest way to make a new R Markdown document is from within RStudio. Go to File > New File > R Markdown. From the new file wizard, you may:
Once inside your new .Rmd
file, you should see some boilerplate text that includes code chunks. Use the "Knit" button in the RStudio IDE to render the file and preview the output with a single click or use the keyboard shortcut Cmd/Ctrl + Shift + K.
You can also click "Knit to HTML" again to render the full document with all code chunks.
The HTML output is also provide in the HTML folder of the project, so you can have a look to the final output.
Feel free to contact the author of the publication :