get_ms2_spectrum_from_object: Get spectra of peaks from metIdentifyClass object

get_ms2_spectrum_from_objectR Documentation

Get spectra of peaks from metIdentifyClass object

Description

Get spectra of peaks from metIdentifyClass object. \lifecyclematuring

Usage

get_ms2_spectrum_from_object(object, peak.name)

Arguments

object

metIdentifyClass.

peak.name

Peak name.

Value

A MS2 spectrum.

Author(s)

Xiaotao Shen shenxt1990@163.com

See Also

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

Examples

data("annotate_result", package = "metID")
peak_name <- which_has_identification(annotate_result)
get_ms2_spectrum_from_object(annotate_result, peak_name[1,1])

jaspershen/metID documentation built on July 31, 2022, 11:31 p.m.