# Load libraries library(knitrtools) # Define Knitr defaults knitr::opts_chunk$set(echo=FALSE, cache=TRUE, warning=FALSE, message=FALSE, dpi=150, fig.width=7.5, fig.height=6.5, fig.align='center', dev='pdf') knitr::opts_knit$set(root.dir=".") # Change root dir here # Define other defaults pander::panderOptions('table.split.table', Inf)
pander::pander(readxl::read_excel("materials.xlsx"))
# Could also load solutions from # an R data file # load.solutions("solutions.RData") solution("Lysis buffer 1", "10 mmol Tris", "10 mmol NaCl", "0.2 % Igepal", "1 unit protease inhibitor" )
r reagents(
"2 L of Lysis buffer 1",
"..."
)
r multiday.protocol(
"Day 1" = protocol(
"Centrifuge cells for [1 min]",
"Resuspend cells in 20 mL of EGS {WARN EGS is toxic}"
),
...
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.