R/deprecated_function4databaseClass.R
getMS2spectrum.Rd
Get MS2 spectra of peaks from databaseClass object.
getMS2spectrum(
lab.id,
database,
polarity = c("positive", "negative"),
ce = "30"
)
The lab ID of metabolite.
Database (databaseClass object).
positive or negative.
Collision value.
A MS2 spectrum (data.frame).
The example and demo data of this function can be found https://jaspershen.github.io/metID/articles/metID.html