/pvalue_sims

Basic Makefile example.

Primary LanguageR

Simple example of a Makefile

David Gerard

Introduction

This is a simple example of using a Makefile to organize the pipeline of a basic data analysis.

The files after everything is evaluated are:

  • Makefile
  • Readme.Rmd
  • Readme.md
  • analysis
    • add_alt_sims.R
    • null_sims.R
    • panal.html
    • panal.Rmd
  • output
    • add_alt_sims.Rout
    • null_sims.Rout
    • pdat.csv
    • pnull.RDS

These files have the following dependency structure:

See the Makefile for how to organize this dependency structure.