createExampleData {LoBrA} | R Documentation |
Create example data set for 'LoBrA'
Description
Real signals and background noise originating from experimental settings or random events
Usage
createExampleData(
components = c(70, 10, 10, 10),
samples = 10,
classes = 2,
bg = 3,
timepoints = rep(5, 3),
myfile = NA
)
Arguments
components |
vector numbers of background and informative components to be created. |
samples |
number of experiments per class |
classes |
number of classes |
bg |
number of background measurements |
timepoints |
number of sample measurements for each spline |
myfile |
filename of the pdf file created. Note: '.pdf' is added automatically. |
Value
final matrix of example data.
Examples
## Not run:
components = c(21,3,3,3)
samples = 10
classes = 2;
bg = 3;
timepoints = rep(5,3)
p=TRUE;
longDataExample <- createExampleData(components, samples, classes, bg,
timepoints)
dim(longDataExample)
[Package LoBrA version 1.0 Index]