getMs-methods: Transforms beta values to M-values

Description Usage Arguments Value Examples

Description

Given a MethylationSet or a AnalysisResults returns the matrix of M values using a logit2 transformation. Betas equal to 0 will be transformed to threshold and betas equal to 1, to 1 - threshold.

Usage

1
getMs(object, threshold = 1e-04)

Arguments

object

MethylationSet or AnalysisResults

threshold

Numeric with the threshold to avoid 0s and 1s.

Value

Matrix with the M values.

Examples

1
2
3
4
if(require(MEALData)){
 data(mset)
 Ms <- getMs(mset)
}

Bioconductor-mirror/MultiDataSet documentation built on June 26, 2017, 10:25 p.m.