sgolayDeriv {mQTL.NMR} | R Documentation |
Calculate smoothed derivates using Savitzky-Golay filter
sgolayDeriv(dpSpectr, iOrder, iFrameLen, j)
dpSpectr |
a vector specifying the input spectrum |
iOrder |
polynomial order of Savitzky - Golay filter |
iFrameLen |
Savitzky-Golay frame length in ppm scale |
j |
order of derivative |
jth dervitative of the spectrum
Lyamine Hedjazi
## Data Sp=matrix(rnorm(10*13454,mean=0,sd=1), nrow=10,ncol=13454) ## Peak picking Spectrum<-Sp[10,] iOrder <- 3 iFrameLen<- 11 j<-2 SpDerivs<-sgolayDeriv(Spectrum,iOrder,iFrameLen,j)