wrap text data in a portable script to share both data and analysis
- Well suited to tabular or relational data with multiple categories.
- An easy way to share both data and analysis (Reproducible Research).
- Easier than continually re-learning how to do simple analytic tasks.
- Very portable, written entire in bash with two optional dependencies.
R
for statistical analysisgnuplot
for graphical display of data
Download the script (data-wrapper) and place it in your PATH.
-
Run
data-wrapper
on your file of tab-separated data passing in a name for each column.data-wrapper DATAFILE [COLUMN NAMES]
-
This will result in the creation of an executable file named
DATAFILE-viewer
. This file holds all of your data wrapped in a script which provides numerous views into the data. For more information on usage and available outputs and analysis callDATAFILE-viewer -h
.