MethylMix_RemoveFlipOver: The MethylMix_RemoveFlipOver function

View source: R/MethylMix.R

MethylMix_RemoveFlipOverR 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.


gevaertlab/EpiMix documentation built on July 20, 2023, 9:28 a.m.