Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/methylation_preprocessing.R
Color bias adjustment of Illumina Infinium methylaton microarrays using simple shift and scaling normalization
1 | adjColorBias.ssn(methyLumiM, refChannel = c("green", "red", "mean"))
|
methyLumiM |
a MethyLumiM object or any eSet object with "methylated" and "unmethylated" data matrix element in the assayData slot |
refChannel |
the reference color channel for color bias adjustment |
Perform color bias adjustment of Illumina Infinium methylaton microarrays. It requires the input methyLumiM object includes the color channel information in the featureData. Basically, there should be a "COLOR_CHANNEL" column in the data.frame returned by pData(featureData(methyLumiM)).
The basic idea of color bias adjustment is to treat it as the normalization between two color channels. It uses simple scaling normalization to normalize two color channels. The background levels are estimated using function estimateMethylationBG
.
Return an object (same class as input methyLumiM) with updated "methylated" and "unmethylated" data matrix after color bias adjustment.
Pan DU
See Also lumiMethyC
, estimateMethylationBG
and adjColorBias.quantile
1 2 3 4 5 6 | data(example.lumiMethy)
# before adjustment
plotColorBias1D(example.lumiMethy)
lumiMethy.adj = adjColorBias.ssn(example.lumiMethy)
# after adjustment
plotColorBias1D(lumiMethy.adj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.