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
)number of background components to be created
number of experiments
label of each experiment
number of sample measurements
number of background measurements
mean value of noise for the intercept of this components
standard deviation value of noise for the intercept of this component
indicating the segment, that will have an informative event (changing slope for one class)
standard deviation value for the generated slope of for this component (mean is zero, therefore, the slope can be either negative or positive)
random variation changing at each time point
logical value, (default is FALSE), if TRUE the function will plot the created time series.
matrix of informative components