MethylMix_RemoveFlipOver {MethylMix} | R Documentation

## The MethylMix_RemoveFlipOver function

### Description

Internal. The estimated densities for each beta component can overlap, generating samples that look like being separated from their group. This function re classifies such samples.

### Usage

    MethylMix_RemoveFlipOver(OrigOrder, MethylationState, classification,
      METdataVector, NrComponents, UseTrainedFlipOver = FALSE,
      FlipOverState = 0)

### Arguments

`OrigOrder` | order of sorted values in the methylation vector.
`MethylationState` | methylation states for this gene.
`classification` | vector with integers indicating to wich component each sample was classified into.
`METdataVector` | vector with methylation values from the cancer samples.
`NrComponents` | number of components in this gene.
`UseTrainedFlipOver` | .
`FlipOverState` | .

### Value

Corrected vectors with methylation states and classification.

[Package MethylMix version 2.24.0 Index]