lumiMethyC: Color bias adjust of Illumina Infinium methylation data

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

View source: R/methylation_preprocessing.R

Description

Color bias adjust of Illumina Infinium methylation data, which is an object in MethyLumiM class.

Usage

1
lumiMethyC(methyLumiM, method = c("quantile", "ssn", "none"), verbose = TRUE, overwriteBigMatrix=FALSE, ...)

Arguments

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

Details

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.

Value

Return an object (same class as input methyLumiM) with updated "methylated" and "unmethylated" data matrix after background level adjustment.

Author(s)

Pan DU

See Also

See Also adjColorBias.quantile and adjColorBias.ssn

Examples

 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)

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

Related to lumiMethyC in lumi...