Usage
specDist.cosine(peakTable1, peakTable2, mzabs=0.001, mzppm=10, mzExp=0.6, intExp=3, nPdiff=2, nPmin=8, symmetric=FALSE)
Arguments
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
mzExp
the exponent used for mz
intExp
the exponent used for intensity
nPdiff
the maximum nrow-difference of the two peaktables
nPmin
the minimum absolute sum of peaks from both praktables