specDist.peakCount-methods | R Documentation |
This method calculates the distance of two sets of peaks by just returning the number of matching peaks (m/z-values).
specDist.peakCount(peakTable1, peakTable2, mzabs=0.001, mzppm=10, symmetric=FALSE)
peakTable1 |
a Matrix containing at least m/z-values, row must be called "mz" |
peakTable2 |
the matrix for the other mz-values |
mzabs |
maximum absolute deviation for two matching peaks |
mzppm |
relative deviations in ppm for two matching peaks |
symmetric |
use symmetric pairwise m/z-matches only, or each match |
specDist.peakCount(peakTable1, peakTable2, mzppm=10,symmetric=FALSE )
Joachim Kutzera, jkutzer@ipb-halle.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.