Learn R Programming

MetaboAnalystR (version 2.0.0)

ImputeVar: Data processing: Replace missing variables

Description

Replace missing variables by min/mean/median/KNN/BPCA/PPCA/svdImpute.

Usage

ImputeVar(mSetObj, method)

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects)

method

Select the option to replace missing variables, either replacement based on the minimum ("min), the mean ("mean"), or the median ("median") value of each feature columns, or several options to impute the missing values, using k-nearest neighbour ("KNN"), probabilistic PCA ("PPCA"), Bayesian PCA ("BPCA") method, or Singular Value Decomposition ("svdImpute")