fixMVs {MmPalateMiRNA} | R Documentation

## 'Fix' an `RGList` object with missing values.

### Description

Imputes missing values in one of the red foreground, red background, green foreground, or green background matrices of an `RGList` object created from Miltenyi Biotech miRXplore Microarrays. Uses the replicate structure of the array to impute the missing values. Implicit assumption is that only one of the four replicated values for a probe is an missing value.

### Usage

    fixMVs(mat, idx, gene.ids)

### Arguments

`mat` | One of the red foreground (`R`), red background (`Rb`), green foreground (`G`), or green background (`Gb`) matrices in an `RGList` object, which contains missing values.
`idx` | Index of missing values, as returned by the `checkMVs` function. See examples for usage.
`gene.ids` | Vector of gene IDs for each probe. See examples for usage.

### Details

The function is specific to `RGList` objects which were created from Miltenyi Biotech miRXplore Microarrays, since it depends on the replicated structure of that array (probes spotted in quadruplicate) to impute the missing probe values.

### Value

Returns a matrix with the missing probe values imputed.

### See Also

`checkMVs`, `checkOutliers`, `fixOutliers`

### Examples

    data(PalateData)
    mvs <- checkMVs(PalateData)
    PalateData$Rb <- fixMVs(PalateData$Rb, mvs$Rb.na, PalateData$genes$Gene)

[Package MmPalateMiRNA version 1.36.0 Index]