data.frame with the dataset to replace the NA's by the medians of the surrounding
features.
window.size
numeric value, specifying of how many features around the NA the median should be taken.
Value
A data.frame is returned, containing the inserted dataset all NA replaced with median of the window of
size window.size around the NA.
Details
This function can be used when the dependent dataset in the integrated.analysis
function is array-CGH data and contains probes that have an NA. To avoid loosing data by
throwing away the probes with NA's, the impute.nas.by.surrounding function can be
used which simply takes the median of the probes around an NA. The number of probes used
for the imputatin is chosen by giving a value for window.size. This script takes quite long to run!