View source: R/annotations2tab.R
annotations2tab | R Documentation |
Function 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)
annlist |
Annotation list, output of |
matches |
Object containing all match factors - needed to distinguish the best match from the rest in the case of a double annotation. |
n |
Number of rows in the annotation |
A three-column 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
Ron Wehrens
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.