11 R markdown

When you are ready to report your results to colleagues or the world, it can be useful to have all of your analysis and figures in one single document.

The script_file.R that you have created is extremely useful in that it should be a reproducible record of all of your analysis. But at the end of the day. It is a very one-dimensional document – it is just a specific type of text file after all!

Luckily, R & RStudio has ways that we can create more multimedia or even interactive documents.

R markdown documents .Rmd can be used to create .html pages or .pdf documents.

This is an example of a document I created for a collaborative sequencing project.

This workshop is also created in R markdown and knit together as a book!