filter_adducts: Filter adducts.

filter_adductsR Documentation

Filter adducts.

Description

Filter adducts. \lifecyclematuring

Usage

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.

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

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