BoxPlotR: a web-tool for generation of box plots

Introduction

Enter data

Load sample data:
Upload delimited text file:

Data in delimited text files can be separated by comma, tab or semicolon. For example, Excel data can be exported in .csv (comma separated) or .tab (tab separated) format.

Paste data below:
Colour of the 'violin area'
up to 4 colours can be specified: area of the beans, lines inside the bean, lines outside the bean, and average line per bean

Plot options

Tukey - whiskers extend to data points that are less than 1.5 x IQR away from 1st/3rd quartile; Spear - whiskers extend to minimum and maximum values; Altman - whiskers extend to 5th and 95th percentile (use only if n>40)

Widths of boxes are proportional to square-roots of the number of observations.

+/-1.58*IQR/sqrt(n) - gives roughly 95% confidence that two medians differ (Chambers et al., 1983)

The notches are defined as +/-1.58*IQR/sqrt(n) and represent the 95% confidence interval for each median. Non-overlapping notches give roughly 95% confidence that two medians differ, ie, in 19 out of 20 cases the population medians (estimated based on the samples) are in fact different (Chambers et al., 1983).

Colours in HEX format can be chosen on http://colorbrewer2.org/
Orientation of box plots:
Y-axis range (eg., '0,10'):
X-axis range (eg., '0,10'):
Add grid:

This application allows users to generate customized box plots in a number of variants based on their data. A data matrix can be uploaded as a file or pasted into the application. Basic box plots are generated based on the data and can be modified to include additional information. Additional features become available when checking that option. Information about sample sizes can be represented by the width of each box where the widths are proportional to the square roots of the number of observations n. Notches can be added to the boxes. These are defined as +/-1.58*IQR/sqrt(n) which gives roughly 95% confidence that two medians are different. It is also possible to define the whiskers based on the ideas of Spear and Tukey. Additional options of data visualization (violin and bean plots) reveal more information about the underlying data distribution. Plots can be labeled, customized (colors, dimensions, orientation) and exported as eps, pdf and svg files.

Software references

R Development Core Team. R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna (2013)
RStudio and Inc. shiny: Web Application Framework for R. R package version 0.5.0 (2013)
Adler, D. vioplot: Violin plot. R package version 0.2 (2005)
Eklund, A. beeswarm: The bee swarm plot, an alternative to stripchart. R package version 0.1.5 (2012)
Kampstra, P. Beanplot: A Boxplot Alternative for Visual Comparison of Distributions. Journal of Statistical Software, Code Snippets 28(1). 1-9 (2008)
Neuwirth, E. RColorBrewer: ColorBrewer palettes. R package version 1.0-5. (2011)

Further references

Hadley Wickham and Lisa Stryjewski: 40 years of boxplots

Kristin Potter: Methods for Presenting Statistical Information: The Box Plot

This application was created by the Tyers and Rappsilber labs. Please send bugs and feature requests to Michaela Spitzer (michaela.spitzer(at)gmail.com) and Jan Wildenhain (jan.wildenhain(at)gmail.com). This application uses the shiny package from RStudio .
This application was created by the Tyers and Rappsilber labs. Please send bugs and feature requests to Michaela Spitzer (michaela.spitzer(at)gmail.com) and Jan Wildenhain (jan.wildenhain(at)gmail.com). This application uses the shiny package from RStudio .
Download eps-file Download pdf-file Download svg-file

Box plot statistics

This application was created by the Tyers and Rappsilber labs. Please send bugs and feature requests to Michaela Spitzer (michaela.spitzer(at)gmail.com) and Jan Wildenhain (jan.wildenhain(at)gmail.com). This application uses the shiny package from RStudio .
Box plot description for figure legend:
Further information to be added to the figure legend:

What do the box plots show, explain colours if used.

Download box plot data as .CSV file
This application was created by the Tyers and Rappsilber labs. Please send bugs and feature requests to Michaela Spitzer (michaela.spitzer(at)gmail.com) and Jan Wildenhain (jan.wildenhain(at)gmail.com). This application uses the shiny package from RStudio .
Q: I have trouble editing the graphic files.

A: For EPS files make sure to 'ungroup' all objects so they can be edited independently. In Adobe Illustrator you will also need to use the 'release compound path' command. For PDF files you should 'release clipping mask'. SVG import appears to have problems in Adobe Illustrator and Corel Draw and should be avoided. EPS, PDF and SVG import all work with Inkscape http://www.inkscape.org/.