set_annotations {xcms} R Documentation

set annotation to the ion features

Description

Usage

set_annotations(peaktable, id, annotation);

Arguments

peaktable

[as PeakSet]

id

should be a character vector of the ion reference id

annotation

should be a collection of the metabolite annotation model MetID, size of this collection should be equals to the size of the given id vector.

env

[as Environment]

Details

Authors

BioNovoGene

Value

this function returns data object of type PeakSet.

clr value class

Examples


[Package xcms version 1.0.0.0 Index]