Dye-bias correction and beta-values
Preprocessing.Rdcorrect_dye_bias() corrects the dye bias between the red and green color
channel. It implements an improved version of RELIC using a robust Theil-Sen estimator
to regress the intensities of the red on those of the green normalization control probes.
beta_values() converts the methylated (M) and unmethylated (U) intensities into
beta-values (M / (M + U)). Intensities below 1 are set to 1 before the conversion.
Arguments
- raw
Output of
read_idats.
Value
correct_dye_bias returns a modified raw list object with dye-bias corrected
intensities in M, U, and the out-of-band signals.
beta_values returns a matrix of beta-values with probe IDs as row names and
sample IDs as column names. If the data was imported with on_disk = TRUE, an ff
object is returned instead. In this case, it is recommended to transpose the returned ff object
for fast row-based access.