mvalue_to_beta: DNA methylation beta values

View source: R/transformations.R

mvalue_to_betaR Documentation

DNA methylation beta values

Description

Convert DNA methylation (DNAm) array M-values to beta intensity values.

Usage

mvalue_to_beta(data, min_value = -Inf, max_value = Inf)

Arguments

data

A numeric vector or matrix of DNAm array M-values.

min_value

An optional numeric value denoting the min M-value threshold. Any M-values that are equal or less than this will have an assigned beta value of 0.

max_value

An optional numeric value denoting the max M-value threhsold. Any M-values that are equal or exceed this value will have an assigned beta value of 1.

Value

A numeric vector or matrix of beta intensity values.


bryancquach/omixjutsu documentation built on Jan. 29, 2023, 3:47 p.m.