Skip to content

Instantly share code, notes, and snippets.

@bmiles
Created July 30, 2014 14:50
Show Gist options
  • Save bmiles/f3339632142edc8dcf48 to your computer and use it in GitHub Desktop.
Save bmiles/f3339632142edc8dcf48 to your computer and use it in GitHub Desktop.
R code to generate beanplot from translocation data.
library('beanplot')
//load CSV data into data frame
df <- data.frame(read.csv('./data/Max_Width.csv'))
//beanplot amplitude column, add colours, add labels
beanplot(df$Peak.Amplitude..nA.,
col=c('#bdc3c7','#1abc9c','#1abc9c'),
show.names= TRUE,
ylab='Peak Amplitude [pA]')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment