beta_to_mvalue: DNA methylation M-values

View source: R/transformations.R

beta_to_mvalueR Documentation

DNA methylation M-values

Description

Apply M-value transform to DNA methylation (DNAm) array beta intensity values. Provides range limit options to prevent calculation of -Inf and Inf values.

Usage

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

Arguments

data

A numeric vector or matrix of DNAm array beta intensity values.

min_value

An optional numeric value denoting the min M-value allowed. Any M-values that are less than this value will be set to this value.

max_value

An optional numeric value denoting the max M-value allowed. Any M-values that exceed this value will be set to this value.

Value

A numeric vector or matrix of M-values.


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