knn_impute: Impute metabolomic data by k-nearest neighbour imputation

Description Usage Arguments Value Examples

View source: R/knn_impute.R

Description

Impute metabolomic data by k-nearest neighbour imputation

Usage

1
knn_impute(met, cutoff)

Arguments

met

MultiAssayExperiment object with slot "raw"

cutoff

Cutoff at which fraction of missing values, a metabolite should be removed from the data. The recommended cutoff is 0.4, e.g. 40 percent.

Value

MultiAssayExperiment object with slots "raw" and "imputed"

Examples

1
knn_impute(create_mae(assay,rowData,colData), cutoff=0.4)

andreasmock/MetaboDiff documentation built on Oct. 31, 2020, 8:18 a.m.