ImputeMissingVar: Data processing: Replace missing variables

View source: R/general_proc_utils.R

ImputeMissingVarR Documentation

Data processing: Replace missing variables

Description

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

Usage

ImputeMissingVar(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")

Author(s)

Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)


xia-lab/MetaboAnalystR documentation built on Dec. 23, 2024, 3:44 p.m.