rnb.mval2beta

Description

Transforms M values to beta values.

Usage

1
rnb.mval2beta(mvals)

Arguments

mvals

numeric vector or matrix of M values to be transformed.

Value

The calculated beta values.

Author(s)

Pavlo Lutsik

Examples

1
2
3
4
5
6
library(RnBeads.hg19)
data(small.example.object)
logger.start(fname=NA)
mvals <- rnb.beta2mval(meth(rnb.set.example))
bvals <- rnb.mval2beta(mvals)
all((bvals-meth(rnb.set.example))<1e-10)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.