Get MeansPlot from Data File
This scripts generates a means plot from a data file. The means plot is based on a confidence interval at 95% of confidence. The arguments received are: The input data file, the factor variable, the response variable. The input data file must have a header, indicating the name of each column. From there, the script will identify which column is the factor and which column is the response variable.
If your data file header is the following: Experiment Replica Module Obs. you can make a means plot by experiment, replica or module's name. Your factor variable will be Experiment or Replica or Module, and your response variable will be Obs. The output graph format is PDF.
This script depends on the R project and the gplots library.
Here is an example:
$ getMeansPlotByExperiment.sh Example-test.data Experiment Obs
Download