A function uses normalization parameters to calculate normalized lipidomic data.
normalization_calculator(
data,
normalization.mode,
normalization.index,
delete.pattern = c("_\\d", "(\\+)AcO", "_n", "\\(\\d+\\)"),
group,
to
)
A data frame of normalized data if either 'relative' or 'absolute' mode is used. A list if both of them are used.
Data frame. Row lipidomic data.
Vector. Options can be 'absolute', 'relative', 'TSA', 'toGroup'.
Data frame. normalization parameters, Suggested to be calculated by noridx.ouput()
Pattern of characters that needs to be removed.
Vector. The group information, recommended to be generated with groupXpert()
Character. The group to be normalized to.