AddNoise {synergyfinder} | R Documentation |
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
.
AddNoise(response.mat)
response.mat |
A matrix. It contains the response data for one drug combination. |
Note: If the analysis requires for reproductiblity, plesase set the random seed before calling this function.
A matrix. It contains the response value added with noises.
Shuyu Zheng shuyu.zheng@helsinki.fi
data("mathews_screening_data") data <- ReshapeData(mathews_screening_data) response.mat <- data$dose.response.mats[[1]] set.seed(1) adjusted.mat <- AddNoise(response.mat)