View source: R/CreateSynData.R
| GenerateSynFromReal | R Documentation |
Checkpoints the parameters and the synthetic
exposures to files. It also checks that the parameters
inferred from the synthetic data approximate those
inferred from real.exp.
GenerateSynFromReal( real.exp, num.syn.tumors, file.prefix, sample.id.prefix, top.level.dir = NULL )
real.exp |
The actual (real) exposures upon which to base the parameters and synthetic exposures. |
num.syn.tumors |
Generate this number of synthetic tumors. |
file.prefix |
Prepend this to output filenames to indicate the organization of the data. |
sample.id.prefix |
Prefix for sample identifiers for the synthetic samples. |
top.level.dir |
Directory in which to create several files. This directory must already exist. |
A list with elements:
parms The parameters inferred from real.exp.
syn.exp The synthetic exposures generated from parms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.