Get spectra of peaks from metIdentifyClass object.

get_ms2_spectrum_from_object(object, peak.name)

Arguments

object

metIdentifyClass.

peak.name

Peak name.

Value

A MS2 spectrum.

See also

The example and demo data of this function can be found https://tidymass.github.io/metid/articles/metid.html

Author

Xiaotao Shen xiaotao.shen@outlook.com