wrapper.impute.mle: Imputation of peptides having no values in a biological...

View source: R/missingValuesImputation_PeptideLevel.R

wrapper.impute.mleR Documentation

Imputation of peptides having no values in a biological condition.

Description

This method is a wrapper to the function impute.mle of the package imp4p adapted to an object of class MSnSet.

Usage

wrapper.impute.mle(obj, na.type)

Arguments

obj

An object of class MSnSet.

na.type

A string which indicates the type of missing values to impute. Available values are: 'NA' (for both POV and MEC).

Value

The Biobase::exprs(obj) matrix with imputed values instead of missing values.

Author(s)

Samuel Wieczorek

Examples

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')


samWieczorek/DAPAR documentation built on May 6, 2022, 5:30 p.m.