Filter adducts.
filter_adducts(object, remove_adduct = NULL)
metIdentifyClass.
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').
A MS2 spectrum.
The example and demo data of this function can be found https://tidymass.github.io/metid/articles/metid.html