HLA pulldown yield varies by orders of magnitude between samples, so without
between-sample normalization a loading difference is indistinguishable from
biology. "median" (the default) removes only a per-sample offset — the
minimal assumption — and is implemented in base R so the default path has no
Bioconductor dependency. "quantile", "cyclicloess" and "scale" delegate
to limma::normalizeBetweenArrays(); they additionally force the shape of
the distributions to agree, which assumes most features do not change — a
strong assumption in an on/off ligand landscape, hence not the default.
Usage
normalize_quant(
mat,
method = c("median", "quantile", "cyclicloess", "scale", "none")
)