R Markdown

Analyse data from HGT_vs_DUP (javascript implementation)

There are two types of output. Averages over time, and the raw data. This document plots histograms of the raw data fow now. Below, give the output file generated by the code _raw.txt, and it plots … something.

file <- "../Output/100_raw.txt"
data <- read.table(file,sep=",");

# Renaming the first two columns, which are the timepoint and the variable-names
names(data)[1] <- "time"
names(data)[2] <- "variable"

# gathering the data into a long-format data frame structured:
# <timepoint,variable-name,value>
data <- gather(data, key,value,-c(time,variable)) %>% select(time,variable,value)

Including Plots

Here, some distributions are drawn using violin plots:

Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.