find.tol | R Documentation |
The function finds the tolerance level in m/z from a given vector of observed m/z values.
find.tol(a, uppermost=1e-4, aver.bin.size=4000, min.bins=50, max.bins=200)
a |
The vector of observed m/z values. |
uppermost |
Consider only m/z diffs smaller than this value. |
aver.bin.size |
The average bin size to determine the number of equally spaced points in the kernel density estimation. |
min.bins |
the minimum number of bins to use in the kernel density estimation. It overrides aver.bin.size when too few observations are present. |
max.bins |
the maximum number of bins to use in the kernel density estimation. It overrides aver.bin.size when too many observations are present. |
The method assumes a mixture model: an unknown distribution of m/z variations in the same peak, and an exponential distribution of between-peak diffs. The parameter of the exponential distribution is estimated by the upper 75
The tolerance level is returned.
Tianwei Yu <tyu8@emory.edu>
data(prof)
find.tol(prof[[1]][,1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.