create.reports parses properties (by
calling load.properties) and initialize environments and
computations (by calling initialize.env) required by the
reports, calls Sweave and pdflatex.
create.reports(properties.file = "properties.R", global.properties.file = system.file("report","properties.R", package = "isobar"), args = NULL, ..., recreate.properties.env = TRUE, recreate.report.env = TRUE)
load.properties(properties.file = "properties.R", global.properties.file = system.file("report","properties.R",package="isobar"), args = NULL, ...)
initialize.env(env, properties.env)global.properties.file
and defines peaklists, identification files, significance levels,
etc. See the global properties file for the available options and
values.system.file("report","properties.R",package="isobar")properties.file. inst in the isobar installation directory
system.file("inst",package="isobar") contains R, Sweave, and LaTeX
files as examples of how to create XLS and PDF reports using isobar.
--compile and
--zip are parsed directly and given as arguments to
create.reports. Other arguments are given
load.properties.
for the XLS report the script pl/tab2xls.pl is used, which concetenates CSV files to a XLS. See Perl requirements. Sweave is called on report/isobar-qc.Rnw and report/isobar-analysis.Rnw. All files are written the working directory.