Displaying 1 result from an estimated 1 matches for "transformintensity".
2012 Aug 23
0
MALDIquant
...etectPeaks(spec, SNR = 2)
Error en embed(object@intensity, windowSize) : wrong embedding dimension
Any ideas?
This is the code I´ve used:
> library("MALDIquant")
> library("readMzXmlData")
> spec <- mqReadMzXml("/Users/juane/XML/")
> spec <- transformIntensity(prueba, sqrt)
> movingAverage <- function(y) { return(filter(y, rep(1,5)/5, sides = 2))}
> spec <- transformIntensity(spec, movingAverage)
> spec <- removeBaseline(spec, method = "SNIP")
> peaks <- detectPeaks(spec, SNR = 2)
Error en embed(object@intensity, wi...