imputeOptProc: Impute missing values using either 'MSnbase::impute' or...

Description Usage Arguments Value See Also

View source: R/impute.R

Description

Impute missing values using either MSnbase::impute or RobCompositions

Usage

1
imputeOptProc(obj, method, k, verbose = FALSE)

Arguments

obj

MSnSet with missing values

method

imputation method, Choose from knn, MinDet, MinProb, sn-knn, it-comp-knn or comp-knn

Value

input MSnSet with missing values imputed

See Also

robCompositions::impKNNa for comp-knn and robCompositions::impCoda for it-comp-knn methods


TomSmithCGAT/OptProc documentation built on Aug. 14, 2020, 8:23 p.m.