The mass-spectra library to be compared with the empirical spectra. By default, the MassBank - Mass Bank of North America (MoNa) database are employed (mslib object).
CAS
The CAS number of the compound to be found.
chem.form
The chemical formula of the compound to be found.
Value
findComp returns an S3 object:
DB.IdThe identification number of the library. Each metbolite in the reference library has a different DB.Id number.
# finding prolinefindComp("proline")
# be careful, exact matches are not supported, # as well as different names like these cases:findComp("L-proline (2TMS)")
# orfindComp("proline 2")