bgAdjustMethylation: Estimate and adjust the background levels of Illumina...

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/methylation_preprocessing.R

Description

Estimate and adjust the background levels of Illumina Infinium methylaton microarrays

Usage

1
bgAdjustMethylation(methyLumiM, separateColor = FALSE, targetBGLevel = 300, negPercTh = 0.25)

Arguments

methyLumiM

a MethyLumiM object or any eSet object with "methylated" and "unmethylated" data matrix element in the assayData slot

separateColor

determine whether separately process two color channels

targetBGLevel

adjust background level to a non-zero target background level

negPercTh

the threshold of the percentage of negative values after subtract estimated background levels. A warning will be given if too many probes having intensities lower than background levels.

Details

The estimation of background level of Infinium methylaton microarray is based on the assumption that the lots of CpG sites are unmethylated, which results in a density mode of the intensities measured by methylated probes. The position of this mode represents the background level.

Value

Return an object (same class as input methyLumiM) with updated "methylated" and "unmethylated" data matrix after background level adjustment. The estimated background level was kept in the attribute, "EstimatedBG", of the returned methyLumiM object.

Author(s)

Pan DU

See Also

See Also lumiMethyB and estimateMethylationBG

Examples

1
2
3
data(example.lumiMethy)
lumiMethy.bgAdj = bgAdjustMethylation(example.lumiMethy)
attr(lumiMethy.bgAdj, "EstimatedBG")

lumi documentation built on Nov. 8, 2020, 5:27 p.m.