View source: R/initExampleData.R
createInformativeComponents | R Documentation |
This function simulates signals correlated to different informative events.
createInformativeComponents( components, samples, labels, timepoints = c(5, 5, 5), bg = 3, mean = 5, sd = 3, segment = 1, slopeSD = 2, randomnoise = 0.5, plotting = FALSE )
components |
number of background components to be created |
samples |
number of experiments |
labels |
label of each experiment |
timepoints |
number of sample measurements |
bg |
number of background measurements |
mean |
mean value of noise for the intercept of this components |
sd |
standard deviation value of noise for the intercept of this component |
segment |
indicating the segment, that will have an informative event (changing slope for one class) |
slopeSD |
standard deviation value for the generated slope of for this component (mean is zero, therefore, the slope can be either negative or positive) |
randomnoise |
random variation changing at each time point |
plotting |
logical value, (default is FALSE), if TRUE the function will plot the created time series. |
matrix of informative components
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.