createBGComponents {LoBrA}R Documentation

Simulate background noise peaks

Description

Simulating background noise signals originating from experimental settings or random events

Usage

createBGComponents(
  components,
  samples,
  labels,
  timepoints = 15,
  bg = 3,
  mean = 5,
  sd = 3,
  experimentSD = 2,
  randomnoise = 0.1,
  plotting = FALSE
)

Arguments

components

number of background components to be created

samples

number of experiments

labels

name of each experiment

timepoints

number of sample measurements

bg

number of background measurements

mean

mean value of noise components

sd

standard deviation value of noise for this component

experimentSD

standard deviation value of each experiment for this component

randomnoise

random variation changing at each time point

plotting

Indicator whether the component will be plotted (TRUE) or not (FALSE)

Value

matrix of background components


[Package LoBrA version 1.0 Index]