huber_weight: Calculate Huber weights for an individual matrix

View source: R/iq-format.R

huber_weightR Documentation

Calculate Huber weights for an individual matrix

Description

Calculate Huber weights for an individual matrix

Usage

huber_weight(X, x, c = 1.4826, k = 1.345)

Arguments

X

A matrix of intensities in the log2 space. Columns are samples and rows are fragment ions.

x

An initial estimate

c

Weighting function parameter.

k

Weighting function parameter.

Value

A numeric weight vector of size equal to the number of rows of X.

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.