Hi,

I am relatively new to bioinformatics/R/scripting. Currently I am trying to improve my coding style so that my scripts are more accessible, both for me and other readers. 

Does anyone know of any resources  for model scripts I could use as inspiration?

Thanks.
These are only a few coding style guides I found:

 - https://www.bioconductor.org/developers/how-to/coding-style/
 - http://r-pkgs.had.co.nz/style.html
 - https://web.stanford.edu/class/cs109l/unrestricted/resources/google-style.html
 - http://shape-of-code.coding-guidelines.com/2013/03/02/the-most-worthwhile-r-coding-guidelines-i-know/

If you want to look at examples from bioinformatics, you could take a look inside BioConductor packages, like [BioStrings][1]. But these are using advanced features of R's object system like methods, generics, etc. which might be overwhelming for a beginner.

 


  [1]: https://github.com/Bioconductor-mirror/Biostrings/tree/release-3.3