This function is used to programatically take vectors of paramters and write suites of R parameter scripts that will form part of a SHAPE experiment that is being built for running. This is a wrapper for writting out the suite of necessary scripts to form a run.
write_subScript(func_subScipt, func_outDir, func_inCombos, func_inParms,
func_maxJobs, func_appLocation, func_commonArgs, func_submitArgs,
func_remoteLocation, func_passedArgs,
func_externalStopper = getOption("shape_external_stopFile"),
func_sepString = getOption("shape_sepString"))
This is the template script that needs to be replicated
This is the filepath directory where output should be placed
This is the combinations of parameters that are to be used in the experiment.
# These are additional parameters to be implemented in writing out combinations.
This is the maximum number of individual R jobs that should be called at once by the shell submission scripts, it can affect both local and remote server calls.
This is the filepath for R so that batch mode runs can be called.
These are common arguments important when running the batch mode
These are common arguments important when submitting the batch mode
This is a remote server location where an experiment built is to be run it affects the filepathing called by submission scripts and the associated batch mode runs performed.
These are arguments passed through this wrapper to inner functions.
This is a file which exists as a flag for stopping SHAPE from trying to create additional replicates.
This is the common string used to collapse information.
A character string that should indicate the experiment has been created. Otheriwse this has failed.