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.
annotations2tab(annlist, matches)
makeAnnotation(n)
matchSamples2DB
.data.frame
(possibly zero).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