Software Carpentry introduction to R for novices using inflammation data.
Python HTML R CSS Makefile JavaScript Other
Latest commit 3ec0dbf Jul 16, 2017 @chendaniely chendaniely md render from #255
Permalink
Failed to load latest commit information.
.github Suggest template language Apr 25, 2017
_episodes md render from #255 Jul 16, 2017
_episodes_rmd Merge branch 'gh-pages' into gh-pages Jul 16, 2017
_extras Merge branch 'gh-pages' into dataframe-as-numeric-updated Jul 16, 2017
_includes Merge remote-tracking branch 'upstream-styles/gh-pages' into r-novice… May 10, 2017
_layouts Add all in one lesson build with Javascript May 6, 2017
assets Make challenges and discussion visibles May 6, 2017
bin Fix bug with Python script May 6, 2017
code Trying to fix unclosed style block Jul 5, 2016
data Tidying up files after style merge Jul 5, 2016
fig New svg diagrams for variables, refactoring subsetting Dec 15, 2016
files Tidying up files after style merge Jul 5, 2016
.gitignore Ignoring a few more things Jul 18, 2016
.mailmap Fixed, more compact, ordered mailmap (+fixes) Feb 4, 2017
.update-copyright.conf .update-copyright.conf: Configure update-copyright Mar 28, 2015
AUTHORS Force ordering AUTHORS by lastname Feb 6, 2017
CITATION Updating CITATION file Jul 19, 2016
CONDUCT.md Revert "Remove CONDUCT.md since it should be generate by bin/lesson_i… May 10, 2017
CONTRIBUTING.md Add files from bin/lesson_initialize.py May 10, 2017
LICENSE.md Fixing typo in license file Oct 7, 2016
Makefile Checking consolidated links Jan 15, 2017
README.md fix merge conflicts and incorporate changes from #270 Apr 6, 2017
_config.yml Switching to page.root for references Sep 5, 2016
aio.md Add files from bin/lesson_initialize.py May 10, 2017
favicon-dc.ico Preparing for June 2016 release Jun 20, 2016
favicon-lc.ico Starting to incorporate Library Carpentry materials Oct 7, 2016
favicon-swc.ico Preparing for June 2016 release Jun 20, 2016
index.md fix anchor links Mar 7, 2017
reference.md Merge pull request #264 from neon-ninja/fix_anchor_links Mar 27, 2017
requirements.txt requirements.txt: Add update-copyright for maintaining contributor list Mar 11, 2015
setup.md Switching to page.root for references Sep 5, 2016

README.md

r-novice-inflammation

Introduction to R for non-programmers using inflammation data.

Maintainers:

The goal of this lesson is to teach novice programmers to write modular code to perform a data analysis. R is used to teach these skills because it is a commonly used programming language in many scientific disciplines. However, the emphasis is not on teaching every aspect of R, but instead on language agnostic principles like automation with loops and encapsulation with functions (see Best Practices for Scientific Computing to learn more). This lesson is a translation of the Python version, and is also available in MATLAB.

The example used in this lesson analyzes a set of 12 data files with inflammation data collected from a trial for a new treatment for arthritis (the data was simulated). Learners are shown how it is better to create a function and apply it to each of the 12 files using a loop instead of using copy-paste to analyze the 12 files individually.

Contributing

Please see the current list of issues for ideas for contributing to this repository. For making your contribution, we use the GitHub flow, which is nicely explained in the chapter Contributing to a Project in Pro Git by Scott Chacon.

General instructions for making contributions are summarized in CONTRIBUTING.md. When editing topic pages for R lessons, you should change the source R Markdown file (*.Rmd). Only changes to R markdown files and other supporting files (e.g. data files) should be committed to Git.

To view how the changes will look, when viewed in a web browser, you can render the html pages by running make preview from the base of the repository. Generating the html file(s) is required for viewing the online version of the lessons (you can learn more about the design of the build process here). Building the rendered page with the Makefile requires installing some dependencies first. In addition to the dependencies listed in the lesson template documentation, you also need to install the R package knitr.

Once you've made your edits and rendered the corresponding html files, you need to add, commit, and push just the source R Markdown file(s) and any supporting files (e.g. data files). Changes generated by the make preview command should not be committed or included in a pull request. These changes will be taken care of by the lesson maintainer when the PR is merged.

Getting Help

Please see https://github.com/swcarpentry/lesson-example for instructions on formatting, building, and submitting lessons, or run make in this directory for a list of helpful commands.

If you have questions or proposals, please send them to the r-discuss mailing list.