Expand description
Between-array normalization of single-channel matrices. Port of limma’s
normalizeBetweenArrays matrix path and its constituents normalizeQuantiles
(quantile), normalizeMedianValues (scale) and normalizeCyclicLoess
(cyclicloess). Two-colour (RGList/MAList) and vsn methods are out of
scope for the pure-Rust statistical port.
Enums§
- Cyclic
Method - Cyclic-loess variant.
- Normalize
Method - Between-array normalization method for a single-channel matrix.
Functions§
- normalize_
between_ arrays normalizeBetweenArrays(object, method)for a single-channel matrix (n_genes x n_samples).CyclicLoessuses the defaultfastmethod with adaptive span and three iterations.- normalize_
cyclic_ loess normalizeCyclicLoess: iteratively detrend each column’s deviation from the row means (fast) or pairwise MA differences (pairs/affy) with a LOWESS fit (loessFit, weights = NULL). Withadaptive_spanthe span is chosen bychooseLowessSpan(nrow, 50, 0.3, 1/3).- normalize_
median_ abs_ values normalizeMedianAbsValues: scale each column to a common median absolute value. Identical tonormalize_median_valuesexcept the per-column median is taken overabs(x)(matching limma’sapply(abs(x), 2, median)).- normalize_
median_ values normalizeMedianValues: scale each column to a common median. Columns are divided byexp(log(median_j) - mean_j log(median)).- normalize_
quantiles normalizeQuantiles(A, ties): give every column the same quantiles, the average of the sorted columns. Missing values are allowed (a column’s observed values are stretched to the full grid before averaging, and only its observed entries are re-mapped).