View source: R/estimate_missing_value.R
estimate_missing_value | R Documentation |
Estimate the missing entries in a response data
estimate_missing_value(data, nodor, method = "PC")
data |
a data frame or matrix, contaning the consensus response values |
nodor |
a numeric value, specifying the number of the selected odors |
method |
character string, specifying the method ("PC" (Pearson's coefficient) and "Knn" (k nearest neighbors)) for estimation, the default is "PC". |
A wrapper programe for using Pearson Correlation or k-nearest neighbors to estimate the missing entries in a response matrix.
Shouwen Ma <shouwen.ma@uni-konstanz.de>
Kim, H., Golub, G. H. & Park, H., Missing value estimation for DNA microarray gene expression data: local least squares imputation., 2005, Bioinformatics, 21, 187-198
## Not run:
# load data
library(DoOR.data)
data(door_response_matrix)
# pick an example subset
subset <- door_response_matrix[1:100, 11:30]
# estimate missing values
est.data <- estimate_missing_value(data = subset, nodor = 6)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.