R Bookdown Workflow for reporting PBPK Models via PKSim and MoBi
Current state: Early development only
Install via devtools::install_github("JGWojtyniak/ospsreports")
A running R and R Markdown for LaTeX enviroment is required. For further information see: https://bookdown.org/yihui/rmarkdown/installation.html.
This package sets up a drake controlled analysis plan for the generation of a PBPK report for models created via PKSim and MoBi. The produced LaTeX report is generated by bookdown and hence, combines the best features of rmarkdown, LaTeX and KOMA-Script. Features currently supported by the template are:
- A title page
- Table of contents / figures / tables / equations / acronyms / symbols
- Equations
- Cross-Referencing
- Advanced tables via LaTeX and kableExtra
- Inidividual bibliography styles
After installation of the package create a RStudio project in a new directory for your report. Following, load the package (library(ospsreports)
) and run the copy_drakeospsreports_files()
function to copy the template structure in your project directory. Open the _drake.R script in your project directory an run the script. The supplement is created and stored in _book folder.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.