twoCompsEst2: Estimate the fraction of the 2nd component in a 2-component...

Description Usage Arguments Value

View source: R/cell_composition.R

Description

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

Usage

1
2
3
4
5
6
7
8
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


sesame documentation built on Nov. 15, 2020, 2:08 a.m.