Home > Cores > ESPRESSO-CC Power Calculator > Download sources

ESPRESSO-CC Power Calculator

This calculation program is written with R language.
R is a free software environment for statistical computing and graphics.
To run the application, download RExternal and install itExternal locally.
Check that the installation folder (usually C:\Program Files\R\R-2.5.1\bin on Windows) was added to the PATH of the computer.

Download the source code and documentation and decompress it.

The program uses the file espresso-cc-batch-control.csv as parameter and it will generate a result file:
- output.csv containing the full list of variables

The file espresso-cc-batch-control.csv delivered with the program contains some parameters as an exemple.
Modify these values to run the calculation with your own configuration.

This calculation programs will take from a few minutes to several hours to execute depending on the parameters you specified in the espresso-cc-batch-control.csv file. For exemple, the first scenario defined in espresso-cc-batch-control.csv delivered with the program takes 2 minutes to execute and all the scenarios take 10 hours on a recent machine and if .

To run the calculation program, execute from the command line:
- Windows:
C:\Program Files\R\R-2.5.1\bin\Rscript espresso-cc-batch.R espresso-cc-batch-control.csv output.csv
- Linux:
/usr/bin/R --no-save --no-restore --slave -f espresso-cc-batch.R --args espresso-cc-batch-control.csv output.csv

© 2005 Public Population Project in Genomics.
All rights reserved.
Information Usage