sgolayCpp {DIAlignR} | R Documentation |
Smooth chromatogram with savitzky-golay filter.
sgolayCpp(chrom, kernelLen, polyOrd)
chrom |
(matrix) chromatogram containing time and intensity vectors. |
kernelLen |
(integer) length of filter. Must be an odd number. |
polyOrd |
(integer) TRUE: remove background from peak signal using estimated noise levels. |
(matrix).
Shubham Gupta, shubh.gupta@mail.utoronto.ca ORCID: 0000-0003-3500-8152 License: (c) Author (2020) + MIT Date: 2019-12-31
data("XIC_QFNNTDIVLLEDFQK_3_DIAlignR", package = "DIAlignR") XICs <- XIC_QFNNTDIVLLEDFQK_3_DIAlignR[["hroest_K120809_Strep0%PlasmaBiolRepl2_R04_SW_filt"]][["4618"]] xic <- sgolayCpp(as.matrix(XICs[[1]]), kernelLen = 11L, polyOrd = 4L)