get.annotR Documentation

get.annot

Description

This function extracts annotation from CAMERA object, generating a matrix of non-redundant putative molecular ions.

Usage

  get.annot(xsAnnotate, polarity = "positive",
    allowMiss = FALSE, xset = NULL, toexclude = NULL,
    minsamp = 0.6, minint = 5000)

Arguments

xsAnnotate

CAMERA's annotation object.

polarity

acquisition mode of mass spectrometer.

allowMiss

logical, optionally retrieves peaks with no evidence of adduct or isotope and annotate them as single charged molecules [M+/-H].

toexclude

samples to be excluded of peak counting to non-annotated peak selection.

xset

xcmsSet xcms object after missing data replacement, to retrieve SNR to isotopic peaks.

minsamp

minimum number of samples in which an ion should be present to be selected.

minint

minimum mean intensity that a ion should present to be selected.

Value

A list with a matrix of possible molecular ions with a trace of their annotation, and the used xsAnnotate object.