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
.
It does not impute MEC missing values.
wrapper.impute.mle(obj)
obj |
An object of class |
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[seq_len(10), ]
level <- 'peptide'
metacell.mask <- match.metacell(GetMetacell(obj), c("Missing POV", "Missing MEC"), level)
indices <- GetIndices_WholeMatrix(metacell.mask, op = ">=", th = 1)
obj.imp.na <- wrapper.impute.mle(obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.