This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Model scripts for R bioinformatics research

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.

r

What do you mean by Model scripts? Are you looking for R tutorials?

What I mean is good examples of clean R code that is used in a bioinformatics context.

3 answers

This will be good starter for you,

https://cran.r-project.org/doc/contrib/Paradis-rdebuts_en.pdf (I have started with this PDF :-))

http://www.tutorialspoint.com/r/

Advanced usage of available pipelines:

For some high throughput analysis R scripts/packages look into Bioconductor website.

More discussions,

Recommend Your Favorite Introductory "R In Bioinformatics" Books And Resources

These are only a few coding style guides I found:

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

Not related to bioinformatics, even less about R and not exactly concise... Still I'd recommend this book Code Complete. I found it very useful and readable.

Log in to answer this question.