rformassspectrometry / MetaboCoreUtils

Core utilities for metabolomics.
https://rformassspectrometry.github.io/MetaboCoreUtils/index.html
9 stars 6 forks source link

Add linear model-based normalization functions #78

Closed jorainer closed 11 months ago

jorainer commented 11 months ago

This PR adds functions that allow to perform a linear-model based normalization, which includes:

The functions perform row-wise adjustments, thus, a linear model if fitted for each "feature" separately, and the data will be adjusted (per feature) for this. Also, estimation of the bias can be performed on a subset of samples (e.g. QC samples) and applied in a second step to the full data set.

These functions are core/basic functions, more user convenient functions that base on these might be implemented elsewhere.