[R] Peak finding algorithm
andy_liaw at merck.com
Fri Dec 10 03:54:15 CET 2004
If you are referring to something similar to LC-MS data, you might want to
take a look at the `mscalib' and/or `ppc' packages. I haven't used those,
so don't know how relevant they are to what you have in mind.
[Searching for `peak' on Prof. Baron's R search site turned up those two
> From: Gene Cutler
> I'm sure there must be various peak-finding algorithms out
> there. Not
> knowing of any, I have written one myself*, but I thought I'd ask to
> see what's out there.
> Basically, I have a 2-dimensional data set and I want to
> identify local
> peaks in the data, while ignoring "trivial" peaks. My naive
> first identifies every peak and valley (point of inflection change in
> the graph), then shaves off shallow peaks and valleys based on an
> arbitrary depth parameter, then returns whatever is left. This
> produces decent results, but, again, I'd like to know what other
> implementations are available.
> (* source available on request)
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide!
More information about the R-help