wrapper.impute.KNN: KNN missing values imputation from a 'MSnSet' object

Description Usage Arguments Value Author(s) Examples

View source: R/missingValuesImputation_ProteinLevel.R

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

1

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

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

DAPAR documentation built on April 11, 2021, 6 p.m.