Update: 31.07.2018

A Java GUI for bargraph plotting with R

Features | Screenshots | Data Model and Pipeline | Download | How to cite

jBar is a Java GUI that allows the user to customise a generic script for R that calculates means and standard errors for numerical replica data collected in dependence of two variables, and presents the results in form of bar plots. A two-sided Student’s t-test is carried out against a user-selected reference and p-values are calculated. The user can enter the data conveniently through the built-in spreadsheet and configure the R pipeline in the GUI. The configured R script is written into a file and then executed. Barplots are generated as PNG, PDF or SVG files and can also be generated as interactive Plotly HTML widgets.

This software has been designed as an analysis pipeline that calculates means and standard errors of replica data collected in dependence of two variables (group and test). Additionally: The data are plotted using either: The user can specify whether barplots shall be organised per group or per test. By default, summary barplots showing all data will be produced. If selected by the user (Individual Plots), plots that only show individual tests or groups will also be generated.

The GUI is available in English and German.

Barplot per group

Barplot per test

Data Input
The Data Input spreadsheet tab provides a convenient way to assemble the data to be analysed. Data can be introduced by copy-paste (Ctrl-C / Ctrl-V) into the spreadsheet or entered manually in the individual cells.

Generate Plot
This panel allows setting of individual parameters of the R script. Selecting Plot per Group will produce a summary bargraph that uses the groups as categories on the x-axis and the tests will be shown in the legend. If Plot per Test is selected, the tests will be used as categories on the x-axis and the groups shown in the legend. It is also possible to produce individual plots where only one test is shown for all groups and/or one group is shown for all tests. The colouring of individual graphs will be consistent with the colours in the summary graphs.

Data Model and Pipeline
In order to assess the effects of potential inhibitors on the activity of an enzyme, a biochemical assay is carried out in the absence and presence of various compounds; this variation is captured by the group variable. The enzymes being tested are captured by the test variable. Each test is carried out with technical repeats (e.g. in triplicate: test.1, test.2, test.3). For analysis of this data model, the following steps will be carried out:
  1. If selected by the user (Subtract Baseline), the mean of the baseline group for each test will be subtracted from the data of that test.
  2. If selected by the user (Normalise Data), all groups of a particular test will be normalised with respect to the reference of that test.
  3. For each set of replica of a particular test, the mean and standard error of the mean will be calculated.
  4. For each test, a two-sided Student t-test (95% confidence level) is done against the reference group (Reference for t-Test) and the p-value recorded.
For each step, a CSV-formatted ASCII file is generated. All files are accumulated in the directory specified as Output Directory and file names start with the name given as Root Filename.

Download jBar from the PCSB home page.
(4 downloads as of 12.08.2018)

Example data: jBar file

How to cite
When using this program, please cite:
Hofmann, A., Wlodawer, A. (2002) PCSB - a programme collection for structural biology and biophysical chemistry. Bioinformatics 18, 209-210.
DOI | PubMed | PDF | More