twoCompsEst2 {sesame} | R Documentation

## Estimate the fraction of the 2nd component in a 2-component mixture

### Description

Estimate the fraction of the 2nd component in a 2-component mixture

### Usage

    twoCompsEst2(
      pop1,
      pop2,
      target,
      use.ave = TRUE,
      diff_1m2u = NULL,
      diff_1u2m = NULL
    )

### Arguments

`pop1` | Reference methylation level matrix for population 1
`pop2` | Reference methylation level matrix for population 2
`target` | Target methylation level matrix to be analyzed
`use.ave` | use population average in selecting differentially methylated probes
`diff_1m2u` | A vector of differentially methylated probes (methylated in population 1 but unmethylated in population 2)
`diff_1u2m` | A vector of differentially methylated probes (unmethylated in population 1 but methylated in population 2)

### Value

Estimate of the 2nd component in the 2-component mixture

[Package sesame version 1.5.3 Index]