AddNoise {synergyfinder}R Documentation

Add noise to response value

Description

Function AddNoise calculates and add a noise to values in response matrix. The noises obey normal distribution ~N(0, 0.001) wich are generated by fucntion rnorm.

Usage

AddNoise(response.mat)

Arguments

response.mat

A matrix. It contains the response data for one drug combination.

Details

Note: If the analysis requires for reproductiblity, plesase set the random seed before calling this function.

Value

A matrix. It contains the response value added with noises.

Author(s)

Shuyu Zheng shuyu.zheng@helsinki.fi

Examples

data("mathews_screening_data")
data <- ReshapeData(mathews_screening_data)
response.mat <- data$dose.response.mats[[1]]
set.seed(1)
adjusted.mat <- AddNoise(response.mat)

[Package synergyfinder version 1.10.2 Index]