Get MS2 spectra of peaks from databaseClass object.

Get MS2 spectra of peaks from databaseClass object.

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).

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

Author

Xiaotao Shen shenxt1990@163.com