generateBiomarkerTestSets | R Documentation |
Convenience function to generate simulated data and save each test set as a separate file
generateBiomarkerTestSets( workingDir = "", subset = "all", rounding = TRUE, verbose = TRUE )
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) |
No return value, instead the data files are generated and saved in the workingDir
Tatjana Ammer tatjana.ammer@roche.com
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.