\name{impute.nas.by.surrounding} \alias{impute.nas.by.surrounding} \title{Impute NA's in array-CGH data} \description{Replace an NA by the median of the surrounding features in the same sample.} \usage{impute.nas.by.surrounding(dataset, window.size = 5)} \arguments{ \item{dataset}{\link{data.frame} with the dataset to replace the NA's by the medians of the surrounding features.} \item{window.size}{numeric value, specifying of how many features around the NA the median should be taken.} } \details{This function can be used when the dependent dataset in the \link{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!} \value{A \link{data.frame} is returned, containing the inserted \code{dataset} without NA's, which are medianed. } \author{Marten Boetzer, Melle Sieswerda, Renee X. de Menezes \email{R.X.Menezes@lumc.nl}} \seealso{ \code{\link{SIM}}, \code{\link{assemble.data}}, \code{\link{integrated.analysis}}, \code{\link{sim.plot.zscore.heatmap}}, \code{\link{sim.plot.pvals.on.region}}, \code{\link{sim.plot.pvals.on.genome}}, \code{\link{tabulate.pvals}}, \code{\link{tabulate.top.dep.features}}, \code{\link{tabulate.top.indep.features}}, \code{\link{sim.update.chrom.table}} } \examples{ \dontrun{cgh.imp <- impute.nas.by.surrounding(cgh)} } \keyword{misc}