Description Usage Arguments Author(s) See Also Examples
View source: R/MS1_Utilities.R
This function is used to match two masses from the positive and negative ionization mode to check it they are potentially derived from the same metabolite. Based on the given adducts, all combinations are tested from positive to negative ion mode and the other way. If for both cases the mass error is below the given mass error it is assumed that the masses are derived from the same metabolite.
1 | match_mz_intra(mz1, mz2, adducts, mzTol = 0.005, mzTolType = "abs")
|
mzTol |
m/z error, numeric value |
mzTolType |
type of error used, absolute (abs) or relative (ppm) |
posMz |
m/z value of positive ionization mode |
negMz |
m/z value of negative ionization mode |
posAdducts |
vector with adducts that are used for the positive ionization mode |
negAdducts |
vector with adducts that are used for the negative ionization mode |
Michael Witting, michael.witting@helmholtz-muenchen.de
1 | xxx
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.