wrapper.impute.KNN {DAPAR} | R Documentation

## KNN missing values imputation from a `MSnSet` object

### Description

This method is a wrapper for objects of class `MSnSet` and imputes missing values with a fixed value. This function imputes the missing values condition by condition.

### Usage

    wrapper.impute.KNN(obj, K)

### Arguments

`obj` | An object of class `MSnSet`.
`K` | the number of neighbors.

### Value

The object `obj` which has been imputed

### Author(s)

Samuel Wieczorek

### Examples

    utils::data(Exp1_R25_pept, package='DAPARdata')
    wrapper.impute.KNN(Exp1_R25_pept[1:1000], 3)

[Package DAPAR version 1.19.18 Index]