Hi, I was wondering if anyone knows of a package that contains the ability for peak/valley detection. Here is an example of what I'm looking for, only problem is that it's written in Matlab. http://www.billauer.co.il/peakdet.html Thanks for any help in advance. -Joe
Never mind. I did find this package, which seems to do the trick. Thanks http://rgm2.lab.nig.ac.jp/RGM2/R_man-2.9.0/library/msProcess/man/msExtrema.html On Mon, Dec 13, 2010 at 9:05 PM, Joe Stuart <joe.stuart at gmail.com> wrote:> Hi, > I was wondering if anyone knows of a package that contains the ability > for peak/valley detection. Here is an example of what I'm looking for, > only problem is that it's written in Matlab. > > http://www.billauer.co.il/peakdet.html > > Thanks for any help in advance. > > -Joe >
THere's the peaks package which will do some peak detection, or 'peaks' in the simecol package. Or msc.peaks.find in caMassClass, I'm madly trying to remember what spectral package I found which has a tool similar to msextrema but returns a couple more useful lists describing the data and the results... Carl *************************** From: Michael Bedward <michael.bedward_at_gmail.com> Date: Tue, 14 Dec 2010 14:49:04 +1100 Hi Joe, Just for info, I've done this in the past by applying lowess followed by diff to a vector, then identifying points with change of sign in the diffs. Michael On 14 December 2010 14:22, Joe Stuart <joe.stuart_at_gmail.com> wrote: > Never mind. I did find this package, which seems to do the trick. Thanks > > http://rgm2.lab.nig.ac.jp/RGM2/R_man-2.9.0/library/msProcess/man/msExtrema.html > > On Mon, Dec 13, 2010 at 9:05 PM, Joe Stuart <joe.stuart_at_gmail.com> wrote: >> Hi, >> I was wondering if anyone knows of a package that contains the ability >> for peak/valley detection. Here is an example of what I'm looking for, >> only problem is that it's written in Matlab. >> >> http://www.billauer.co.il/peakdet.html >> >> Thanks for any help in advance. >> >> -Joe
previously I wrote... THere's the peaks package which will do some peak detection, or 'peaks' in the simecol package. Or msc.peaks.find in caMassClass, I'm madly trying to remember what spectral package I found which has a tool similar to msextrema but returns a couple more useful lists describing the data and the results... Carl Found it pastecs:turnpoints is a nice function which, as I said, returns lists of maxima and minima along with a lot of other good stuff.