Skip to contents

Impute the NA in data

Usage

meta_impute(object, method, k = k)

Arguments

object

object A dataframe-like data object containing raw metabolite intensity values, with rows corresponding to metabolites, and the columns corresponding to the samples

method

the method used for imputed data, default is min_0.1. You can choose "mean","median","min","knn"

k

the k value for knn imputation

Value

a data frame

Examples