Nothing
#' @title Imputation with KNN
#'
#' @description This function performs missing values imputation based on KNN algorithm
#'
#' @param dataSet.mvs expression matrix with MVs (either peptides or proteins)
#' @param K the number of neighbors
#'
#' @return dataset containing complete abundances
#'
#' @export
#' @importFrom impute impute.knn
#'
impute.wrapper.KNN = function(dataSet.mvs,K){
resultKNN = impute.knn(dataSet.mvs ,k = K, rowmax = 0.99, colmax = 0.99, maxp = 1500, rng.seed = sample(1:1000,1))
dataSet.imputed = resultKNN[[1]]
return(dataSet.imputed)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.