getMS2spectrum2Object: Get spectra of peaks from metIdentifyClass object

getMS2spectrum2ObjectR Documentation

Get spectra of peaks from metIdentifyClass object

Description

Get spectra of peaks from metIdentifyClass object. \lifecyclematuring

Usage

getMS2spectrum2Object(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)
getMS2spectrum2Object(annotate_result, peak_name[1,1])

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