View source: R/missingValuesImputation_ProteinLevel.R
wrapper.impute.KNN | R Documentation |
MSnSet
objectCan impute only POV missing values
wrapper.impute.KNN(obj = NULL, K, na.type)
obj |
An object of class |
K |
the number of neighbors. |
na.type |
A string which indicates the type of missing values to impute. Available values are: 'missing POV'. |
This method is a wrapper for
objects of class MSnSet
and imputes missing values with a fixed value.
This function imputes the missing values condition by condition.
The object obj
which has been imputed
Samuel Wieczorek
utils::data(Exp1_R25_pept, package='DAPARdata') obj.imp.pov <- wrapper.impute.KNN(obj = Exp1_R25_pept[1:10], K=3, na.type = 'missing POV')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.