Awk script in R

前端 未结 3 1911
后悔当初
后悔当初 2020-12-11 12:00

I need to run an awk script to detect local maxima(peaks) in a spectrum. This spectrum is in the form of two columns in a text file.

This is part of a larger project

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-11 12:17

    If you have reasonably smooth spectral data, there are several functions available which do a good job of locating local maxima and minima (aka "peaks"). I like the tools in pastecs , but take a look at the following packages (in my rough order of choice) :

    pastecs,
    Peaks,
    seewave,
    ppc

提交回复
热议问题