Commit 61052bec authored by Konrad Hinsen's avatar Konrad Hinsen

Exécution d'un workflow (snakemake)

parent d57a0340
......@@ -37,3 +37,12 @@ rule histogram:
"data/annual-incidence-histogram.png"
script:
"scripts/annual-incidence-histogram.R"
rule all:
input:
"data/weekly-incidence.csv",
"data/preprocessed-weekly-incidence.csv",
"data/weekly-incidence-plot.png",
"data/weekly-incidence-plot-last-years.png",
"data/annual-incidence.csv",
"data/annual-incidence-histogram.png"
# Read in the data and convert the dates
data = read.csv(snakemake@input[[1]])
names(data) <- c("date", "incidence")
data$date <- as.Date(data$date)
data$week_starting <- as.Date(data$week_starting)
# Plot the complete incidence dataset
png(filename=snakemake@output[[1]])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment