adduct type, e.g. [M+H]+ or [M+Na]+. Accepted values are all adduct ions supported by MSFINDER.
outfile
Name of MAT file. If NULL, a temporary file is created in the per-session temporary directory (see tempdir).
MSFexe
Full path of MS-FINDER executable. This needs to be set according to your system. If NULL, MAT files are written but the program is not opened.
rank
Which rank from 'findMAIN' should be exported.
ms2spec
An (optional) MS2 spectrum to be passed to MSFINDER. If NULL, the MS1 spectrum used by 'findMAIN' is used. If dedicated MS2 spectra are available, this option should be used.
Details
In the default case 'x' can be a matrix or data frame, where the first two columns
are assumed to contain the 'mz' and 'intensity' values, respectively. Further arguments
'precursormz' and 'precursortype' are required in this case. Otherwise 'x' can be of
class findMAIN.
References
H.Tsugawa et al (2016) Hydrogen rearrangement rules: computational MS/MS fragmentation and structure elucidation using MS-FINDER software. Analytical Chemistry, 88, 7946-7958