annotations2tab converts the output of
matchSamples2DB into a table, in the case of multiple DB hits
for one pseudospectrum distinguishing the “best” hit from the
“alternative” hits. Function
makeAnnotation prepares a
data.frame object with the correct number of rows. Both functions are
not meant to be called directly by the user.
Annotation list, output of
Object containing all match factors - needed to distinguish the best match from the rest in the case of a double annotation.
Number of rows in the annotation
data.frame, containing the numbers of the
pseudospectrum in the experimental data, the numbers of the
best hits in the DB, and finally the alternative hits ain the DB