rnb.mval2beta: rnb.mval2beta

Description Usage Arguments Value Author(s) Examples

View source: R/utilities.R

Description

Transforms M values to beta values.

Usage

1

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)

RnBeads documentation built on March 3, 2021, 2 a.m.