We welcome contributions to this website, for example, with use-cases. The BBMRIomics website is built entirely using <R>. Specifically, R Markdown is used to generate the complete website from a few R Markdown files. This section of the RStudio R Markdown website shows how easy it is to generate a website using R Markdown.

Adding a use-case

Modify _site.yml (Note dated 2017-03-17 14:45 : currently this file is accessible on the BIOS VM in “/virdir/Scratch/RP3_analysis/BBMRIomics/site_package”) by adding a new use-case under the use-case items, e.g.:

Beware: spacing does matter!

Now, from within the site_package directory generate a new template by entering from the Ubuntu command prompt:

This will generate eqtl.Rmd for you with the same settings as the other *.Rmd files in this folder. Provide your example with documentation and use cache=TRUE as an argument for the <R> code chunk (perhaps check one of the other *.Rmd documents).

For more information on R Markdown see here.

Check if all code chunks run without errors – optionally add a library to _setup.Rmd. Then enter the following command in the Ubuntu command prompt:

The resulting files can then be pushed to the gh-pages branch on github to publish the them.