annotator.default {RMassBank} | R Documentation |
Generates the PK$ANNOTATION entry from the peaklist obtained. This function is overridable by using the "annotator" option in the settings file.
annotator.default(annotation, type)
annotation |
A peak list to be annotated. Contains columns:
|
type |
The ion type to be added to annotated formulas ("+" or "-" usually) |
The annotated peak table. Table colnames()
will be used for the
titles (preferrably don't use spaces in the column titles; however no format is
strictly enforced by the MassBank data format.
Michele Stravs, Eawag <stravsmi@eawag.ch>
## Not run: annotation <- annotator.default(annotation) ## End(Not run)