load_adduct_table | R Documentation |
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.
load_adduct_table(
polarity = c("positive", "negative"),
column = c("rp", "hilic")
)
polarity |
Character. The ionization mode, either '"positive"' or '"negative"'. Default is '"positive"'. |
column |
Character. The chromatographic column type, either '"rp"' (reversed-phase) or '"hilic"' (hydrophilic interaction chromatography). Default is '"rp"'. |
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.
A data frame representing the adduct table for the specified 'polarity' and 'column'.
## Not run:
# Load adduct table for positive polarity and reversed-phase column
adduct_table <- load_adduct_table(polarity = "positive", column = "rp")
head(adduct_table)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.