Last data update: 2014.03.03
|
R: Impute missing values (NAs) using K-nearest neighbour...
Impute missing values (NAs) using K-nearest neighbour averaging
Description
Impute missing values (NAs) using K-nearest neighbour averaging
Usage
ImputeKnn(X, ratio = 0.5, ...)
Arguments
X |
A matrix of real values where each row corresponds to a patient
and each column is a gene.
|
ratio |
The rows (columns) with more than (default 50%) of
missing values are removed
|
... |
Arguments to be passed to impute.knn
|
Value
A matrix without NAs
Examples
data(expr)
expr.norm = ImputeKnn(expr)
Results
|