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

View source: R/missingValuesImputation_ProteinLevel.R

wrapper.impute.KNNR Documentation

KNN missing values imputation from a MSnSet object

Description

Can impute only POV missing values. 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 = NULL, 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

data(Exp1_R25_pept, package="DAPARdata")
obj.imp.pov <- wrapper.impute.KNN(obj = Exp1_R25_pept[seq_len(10)], K = 3)


prostarproteomics/DAPAR documentation built on Nov. 26, 2024, 6:32 p.m.