This function loads the appropriate adduct table based on the specified ionization polarity and chromatographic column type. The adduct tables contain information about the different adducts used in mass spectrometry.
A data frame representing the adduct table for the specified `polarity` and `column`.
The function loads the appropriate adduct table from the environment based on the ionization mode (`polarity`) and column type (`column`). It supports four combinations: * Positive polarity with HILIC (`"hilic.pos"`) * Positive polarity with RP (`"rp.pos"`) * Negative polarity with HILIC (`"hilic.neg"`) * Negative polarity with RP (`"rp.neg"`)
The corresponding adduct table is returned as a data frame.
if (FALSE) { # \dontrun{
# Load adduct table for positive polarity and reversed-phase column
adduct_table <- load_adduct_table(polarity = "positive", column = "rp")
head(adduct_table)
} # }