generateBiomarkerTestSets {RIbench} | R Documentation |
Convenience function to generate simulated data and save each test set as a separate file
Description
Convenience function to generate simulated data and save each test set as a separate file
Usage
generateBiomarkerTestSets(
workingDir = "",
subset = "all",
rounding = TRUE,
verbose = TRUE
)
Arguments
workingDir |
(character) specifying the working directory where 'workingDir/Data/biomarker' folders will be generated containing the simulated data |
subset |
(character, numeric, or data.frame) to specify for which subset the data should be generated and the algorithms later applied to. character options: 'all' (default) for all test sets; a distribution type: 'normal', 'skewed', 'heavilySkewed', 'shifted'; a biomarker: 'Hb', 'Ca', 'FT4', 'AST', 'LACT', 'GGT', 'TSH', 'IgE', 'CRP', 'LDH'; 'Runtime' for runtime analysis subset; numeric option: number of test sets per biomarker, e.g. 10; data.frame: customized subset of table with test set specification |
rounding |
(logical) indicating whether decimal places stated in test set specification should be applied (default, TRUE), if FALSE, data will be rounded to 5 decimal places to mimic unrounded data |
verbose |
(logical) indicating if the progress counter should be shown (default: TRUE) |
Value
No return value, instead the data files are generated and saved in the workingDir
Author(s)
Tatjana Ammer tatjana.ammer@roche.com
Examples
## Not run:
workingDir <- "C:\\Temp\\RIbench\\"
generateBiomarkerTestSets(workingDir = workingDir)
## End(Not run)
# example generating a subset of 2 test sets per biomarker
generateBiomarkerTestSets(workingDir = tempdir(), subset = 2)