Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/methylation_preprocessing.R
Color bias adjust of Illumina Infinium methylation data, which is an object in MethyLumiM class.
1 | lumiMethyC(methyLumiM, method = c("quantile", "ssn", "none"), verbose = TRUE, overwriteBigMatrix=FALSE, ...)
|
methyLumiM |
a MethyLumiM object includes Illumina Infinium methylation data |
method |
color bias adjustment methods or user provided function, see "details" for more information of user defined function. |
verbose |
a boolean to decide whether to print out some messages |
overwriteBigMatrix |
whether to overwrite the result to the BigMatrix data, only valid when the input data is BigMatrix-based |
... |
other parameters used by corresponding method |
The first two arguments of the user defined function should be two intensity matrix (pool of methylated and unmethylated probe intensities) of red and green channel respectively. The return of the user defined function should be a list including color adjusted matrix of red and green channel. For example: return(list(red=redData, green=grnData)). "redData" and "grnData" are two color adjusted matrix.
Return an object (same class as input methyLumiM) with updated "methylated" and "unmethylated" data matrix after background level adjustment.
Pan DU
See Also adjColorBias.quantile
and adjColorBias.ssn
1 2 3 4 5 6 7 8 9 10 | data(example.lumiMethy)
# before adjustment
plotColorBias1D(example.lumiMethy)
# plot in 2D plot of one selected sample
plotColorBias2D(example.lumiMethy, selSample = 1)
lumiMethy.adj = lumiMethyC(example.lumiMethy)
# after adjustment
plotColorBias1D(lumiMethy.adj)
# plot in 2D plot of one selected sample
plotColorBias2D(lumiMethy.adj, selSample = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.