lilikoi.preproc_knn: An imputation function.

View source: R/lilikoi.preproc_knn.R

lilikoi.preproc_knnR Documentation

An imputation function.

Description

This function is used to preprocess data via knn imputation.

Usage

lilikoi.preproc_knn(inputdata = Metadata, method = c("knn"))

Arguments

inputdata

An expression data frame with samples in the rows, metabolites in the columns

method

The method to be used to process data, including

Value

A KNN imputed dataset with samples in the rows, metabolites in the columns.

Examples


dt <- lilikoi.Loaddata(file=system.file("extdata",
  "plasma_breast_cancer.csv", package = "lilikoi"))
Metadata <- dt$Metadata
dataSet <- dt$dataSet
lilikoi.preproc_knn(inputdata=Metadata, method="knn")


lilikoi documentation built on March 18, 2022, 6:06 p.m.