Description Usage Arguments Value Examples
View source: R/lilikoi.preproc_knn.R
This function is used to preprocess data via knn imputation.
1 | 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.
1 2 3 4 5 | 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.