The goal of hdReports is to supply Rmarkdown templates for 3 occasions:
- A Bachelor’s or Master’s thesis at Heidelberg University in the faculty of Biology and Chemistry
- A research report for the Heidelberg Institute for Theoretical Studies (HITS)
- A research presentation for the Heidelberg Institute for Theoretical Studies (HITS)
You can install hdReports from GitHub with:
# install.packages("remotes")
remotes::install_github("jmbuhr/hdReports")
Or even better: Use the renv
package to manage your dependencies and
use:
renv::install("jmbuhr/hdReports")
Learn more about renv
here
In Rstudio create a new Rmarkdown file and choose From Template. There you will find:
- Heidelberg Thesis
- HITS Research Report
- HITS Research Presentation
This is what parts of the Research Report look like:
Keep this code at the top of your document:
hdReports::init_molstar()
Then embed structures with:
hdReports::include_structure("1Q2W")
They will only appear in the html version.