ImputeNA {synergyfinder} | R Documentation |
Function ImputeNA
does missing value imputation by assigning the
average of values in nearest 4 cells (top, bottom, left, right) to the NA
cell. This pocess will be done repeadly until there is no missing values in
the matrix.
ImputeNA(response.mat)
response.mat |
A matrix which has missing value. |
A matrix which is same as input matrix except the missing values are imputed.
Shuyu Zheng shuyu.zheng@helsinki.fi
data("mathews_screening_data") data <- ReshapeData(mathews_screening_data) response.mat <- data$dose.response.mats[[1]] # introduce some NA values into matrix response.mat[3:4, 3:5] <- NA adjusted.mat <- ImputeNA(response.mat)