Filter adducts.

filter_adducts(object, remove_adduct = NULL)

Arguments

object

metIdentifyClass.

remove_adduct

What adduct you want to remove from annotation result. Like '(M-H)-'. All the adduct list can be found here: data("hilic.pos", package = 'metid'), data("hilic.neg", package = 'metid'), data("rp.pos", package = 'metid'), data("rp.neg", package = 'metid').

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