View source: R/lilikoi.preproc_knn.R
lilikoi.preproc_knn | R Documentation |
This function is used to preprocess data via knn imputation.
lilikoi.preproc_knn(inputdata = Metadata, method = c("knn"))
inputdata |
An expression data frame with samples in the rows, metabolites in the columns |
method |
The method to be used to process data, including |
A KNN imputed dataset with samples in the rows, metabolites in the columns.
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.