Estimates a row vector best representing all rows in the input numeric matrix.
process_matrix(X,
method,
p1 = NULL, p2 = NULL, k = 1.345, min_M = 15, n_threads = -1)
A numeric row vector.
A matrix of intensities in the log2 space. Columns are samples and rows are fragment ions.
One of the quantification methods: "maxlfq"
, "maxlfq_bit"
,
"weighted_maxlfq"
, "median_polish"
, "weighted_median_polish"
, "rlm"
,
or "weighted_rlm"
.
Method parameter. For "rlm"
and "weighted_rlm"
, it is the robust parameter.
For "median_polish"
and "weighted_median_polish"
, it is the convergence parameter. Unused in other cases.
Method parameter. For "maxlfq_bit", it specifies the memory level. For others, it is the maximum number of optimization rounds.
Weighting function parameter.
Minimum number of rows for the weighted methods.
The number of threads to be used. When n_threads
is 0, the maximal number of CPU cores is used.
When n_threads
is -1 (default), one CPU core less than the maximum is used, and so on.
Thang V. Pham
Pham TV, Henneman AA, Jimenez CR. iq: an R package to estimate relative protein abundances from ion quantification in DIA-MS-based proteomics. Bioinformatics 2020 Apr 15;36(8):2611-2613.