rescale: Rescale relative quantification

View source: R/iq-format.R

rescaleR Documentation

Rescale relative quantification

Description

Each connected component of the input values can be rescaled to match the level of the overall input intensities.

Usage

rescale(x, X, method)

Arguments

x

A row vector containing the quantification result.

X

An input matrix of log2-transformed intensities. Columns represent samples, and rows represent fragment ions.

method

One of the methods for rescaling: "median-mean", "median-median", "mean-mean" or "sum".

Value

A row vector of rescaled values of the same size as x, with each connected component rescaled independently. For the "median-mean" method, single-sample components are rescaled to the median of input data, while all other components are rescaled to the mean. For other methods, each component is rescaled to the median, mean, or sum of the input data.

Author(s)

Thang V. Pham

References

Pham TV, Tran CTM, Henneman AA, Pham LHC, Le DG, Can AH, Bui PHL, Piersma SR, Jimenez CR. Boosting the speed and accuracy of protein quantification algorithms in mass spectrometry-based proteomics. Journal of Proteome Research 2026 Feb 6; 25(2):1198–1203.


iq documentation built on Oct. 28, 2026, 1:07 a.m.