This folder contains
- Docker container
- the R script for associations between a (tiny) subset of genetic markers and height.
Inspiration through blogpost by Colin Fay
How to run the docker file
- Install Docker
- Create or modify
Dockerfile
- Create a folder
mkdir results
docker build --build-arg WHEN=2019-01-06 -t analysis .
docker run -v ~/mini-docker/results:/home/analysis/results analysis
This means that within docker, the results are stored in /home/analysis/results
and on my computer under ~/mini-docker/results
Dockerfile
functions.R
: contains functions for data prep.A_dataprep.R
: should be ran first, prepares the data forB_fit.R
,.RData
as output.B_fit.R
: fits a simple and a multiple linear regression,.RData
as output.data/
: https://github.com/sinarueeger/create-data-workflow-example
No rmarkdown
here, since the docker has no pandoc.
results