get_ms2_spectrum: Get MS2 spectra of peaks from databaseClass object

View source: R/function4databaseClass.R

get_ms2_spectrumR Documentation

Get MS2 spectra of peaks from databaseClass object

Description

Get MS2 spectra of peaks from databaseClass object.

Get MS2 spectra of peaks from databaseClass object.

Usage

get_ms2_spectrum(
  lab.id,
  database,
  polarity = c("positive", "negative"),
  ce = "30"
)

Arguments

lab.id

The lab ID of metabolite.

database

Database (databaseClass object).

polarity

positive or negative.

ce

Collision value.

Value

A MS2 spectrum (data.frame).

A MS2 spectrum (data.frame).

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

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


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