wrapper.impute.mle {DAPAR} | R 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 `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')

[Package DAPAR version 1.24.8 Index]