View source: R/missingValuesImputation_PeptideLevel.R
wrapper.impute.mle | R Documentation |
This method is a wrapper to the function impute.mle
of the package
imp4p
adapted to an object of class MSnSet
.
wrapper.impute.mle(obj, na.type)
obj |
An object of class |
na.type |
A string which indicates the type of missing values to impute. Available values are: 'NA' (for both POV and MEC). |
The Biobase::exprs(obj)
matrix with imputed values instead of missing
values.
Samuel Wieczorek
utils::data(Exp1_R25_pept, package='DAPARdata') obj <- Exp1_R25_pept[1:10,] level <- obj@experimentData@other$typeOfData metacell.mask <- match.metacell(GetMetacell(obj), 'missing', level) indices <- GetIndices_WholeMatrix(metacell.mask, op='>=', th=1) obj.imp.na <- wrapper.impute.mle(obj, na.type = 'missing')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.