View source: R/missingValuesImputation_ProteinLevel.R
wrapper.impute.pa | R Documentation |
This method is a wrapper to the function impute.pa
of the package
imp4p
adapted to an object of class MSnSet
.
wrapper.impute.pa(obj = NULL, q.min = 0.025, na.type)
obj |
An object of class |
q.min |
Same as the function |
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.pov <- wrapper.impute.pa(obj, na.type = 'missing POV')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.