View source: R/missingValuesImputation_ProteinLevel.R
wrapper.impute.fixedValue | R Documentation |
MSnSet
objectThis method is a wrapper to
objects of class MSnSet
and imputes missing values with a fixed value.
wrapper.impute.fixedValue(obj, fixVal = 0, na.type)
obj |
An object of class |
fixVal |
A float. |
na.type |
A string which indicates the type of missing values to impute. Available values are: 'NA' (for both POV and MEC), 'POV', 'MEC'. |
The object obj
which has been imputed
Samuel Wieczorek
utils::data(Exp1_R25_pept, package='DAPARdata') obj <- Exp1_R25_pept[1:10,] obj.imp.pov <- wrapper.impute.fixedValue(obj, 0.001, na.type = 'missing POV') obj.imp.mec <- wrapper.impute.fixedValue(obj, 0.001, na.type = 'missing MEC') obj.imp.na <- wrapper.impute.fixedValue(obj, 0.001, na.type = 'missing')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.