Description Usage Arguments Value
Calculates similarity score of two MSMS spectra using count of matched fragments
1 2 | fragCountSim(spec.top, spec.bottom, y = 0, z = 1, t = 0.005,
replace.na = 0, b = 0.05, min.frag = 0)
|
spec.top |
MSMS spectrum 1 |
spec.bottom |
MSMSpectrum 2 |
y |
m/z weighting factor for simTableWeighting(). Default is 0 |
z |
intensity weighting factor for simTableWeighting(). Default is 1 |
t |
m/z tolerance for merging factors for simTable(). Default is 0.005 |
replace.na |
value to replace NAs with. Default is 0 |
b |
relative intensity cutoff for relCutoff(). Default is 0.05. |
min.frag |
the minimum number of matched fragments required. If number of matched fragments is less than this value, score is automatically 0. Default is 0 |
List with the the similarity score (sum of number of matched fragments) and data frame showing output from each step (i.e., merging and intensity cutoff). First column is m/z, then the top and bottom weighted values used for the similarity score calculation. Fourth and fifth columns show the result after applying the relative intensity cutoff, followed by if fragments are matching. Final two column show the original input intensities prior to any processing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.